in reply to Re^2: (Windows) verbatim command line arguments inside Perl script
in thread (Windows) verbatim command line arguments inside Perl script

Ah, you're correct, of course. That was my initial thought (because that's how it is done in Linux), but then I read the docs of Win32::ShellQuote which tells a different story:

Windows passes its arguments as a single string instead of an array as other platforms do.
- and then I copied a presumably relevant part of that docs into my reply without correcting the first sentence.

BTW: Windows has other ... interesting ... challenges when parsing command line arguments. Try this:

perl -E "say @ARGV" €
  • Comment on Re^3: (Windows) verbatim command line arguments inside Perl script
  • Download Code