in reply to Parsing Windows CommandLine from Perl
Perl uses the \ backslash character for escaping. Why not use it?
#!/usr/bin/perl use warnings; use strict; for my $arg (@ARGV) { print "$arg\n" }
arg.pl "abc \" xyz"
abc " xyz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing Windows CommandLine from Perl
by davies (Monsignor) on Apr 18, 2015 at 10:38 UTC |