I am using a guide for installing database samples on my Windows desktop (https://github.com/oracle-samples/db-sample-schemas). But I am stuck at launching Perl script:
perl -p -i.bak -e 's#__SUB__CWD__#'$(pwd)'#g' *.sql */*.sql */*.dat
Error every time appears:
Scalar found where operator expected at -e line 1, near "'s#__SUB__CWD__#'$("
(Missing operator before $(?)
Bareword found where operator expected at -e line 1, near "$(pwd"
(Missing operator before pwd?)
String found where operator expected at -e line 1, near ")'#g'"
(Missing operator before '#g'?)
syntax error at -e line 1, near "'s#__SUB__CWD__#'$("
Execution of -e aborted due to compilation errors.
Could someone help me with that?