|Pathologically Eclectic Rubbish Lister|
command line errorby hsfrey (Beadle)
|on Apr 12, 2012 at 06:13 UTC||Need Help??|
hsfrey has asked for the
wisdom of the Perl Monks concerning the following question:
I can't get the perl command line to work, using Active Perl on windows XP.
If I type: perl -e 'print "XXX";' I get the error message: Can't find string terminator "'" anywhere before EOF at -e line 1. (That's a single quote between 2 double quotes.)
I get the same error if I type: perl -e 'print $a;'
I get no error if I type: perl -e '$a=3;', but of course no output either.
Does anyone have any idea what the problem is or how I could debug the problem?