On Windows you need to use " instead of '
Windows : perl -e "print 'howdy!'"
UNIX : perl -e 'print "howdy!"'
--perlplexer | [reply] [d/l] [select] |
In DOS you need to exchange the single quotes with double quotes, like so:
perl -e "print \"xxx\n\";"
As you can see, this also means that you need to escape double quotes inside your code with backslashes if you want to use them. Or use single quotes if you don't need the interpolation.
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue. | [reply] [d/l] |