in reply to Problem with perl one-liner
The problem is more with your shell and less with Perl.
cmd.exe does not understand single quotes for parameters, only double quotes. So, you need to use double quotes for your Perl oneliner:
perl -e "print qq(A)"
If you want to use double quotes within your Perl oneliner, I recommend using qq() instead. See perlop for more information on quote and quote-like operators.
|
|---|