That's a long way around the bush just to avoid using a backslash in the command.
c:\dev>type arg.pl #!/usr/bin/perl use 5.010; use warnings; use strict; my $i = 0; say $i++ . ":$_" for ($0, @ARGV);
The resulting output:
c:\dev>perl arg.pl "abc \" xyz" bob 0:arg.pl 1:abc " xyz 2:bob
In reply to Re^2: Parsing Windows CommandLine from Perl
by fishmonger
in thread Parsing Windows CommandLine from Perl
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |