in reply to 'perl -le' not working on the command line

In the Windows command line you must use double quotes instead of single quotes for the shell.

If you need double-quoting in Perl code, the easiest way is to use qq instead of real double quotes.

  • Comment on Re: 'perl -le' not working on the command line