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.
In reply to Re: Problem with perl one-liner
by Corion
in thread Problem with perl one-liner
by LeBreton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |