in reply to Re^2: WWW::Mechanize help
in thread WWW::Mechanize help
$ cat foo.pl #!/usr/bin/perl use strict; use warnings; use Data::Dumper; if (@ARGV){ print Dumper \@ARGV; } else { system $^X, $0, "a\nb"; } __END__ $ perl foo.pl $VAR1 = [ 'a b' ];
You can see that the script calls a copy of itself, and both lines of a\nb are passed correctly to the second copy (tested on Linux).
Which makes me think that you're doing something wrong.
|
|---|