in reply to Re: Re: Quote marks lost in system() calls
in thread Quote marks lost in system() calls
if ( @ARGV ) { foreach my $i ( 0 .. $#ARGV ) { print "ARVG[$i]: ", $ARGV[$i], "\n"; } exit(0); } system("perl", $0, 'foo', '"\"bar baz\""'); # or this: system("perl", $0, 'foo', qq("\\"bar baz\\"")); ARVG[0]: foo ARVG[1]: "bar baz"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Quote marks lost in system() calls
by dws (Chancellor) on Dec 21, 2000 at 22:37 UTC |