Hi, grinder!
Maybe I completely miss your point, but what's wrong about
my @args = map { ($_, foo($arg{$_})) } keys %args; # either: prepend \ to all $ in @args s/\$/\\\$/g foreach @args; # or maybe: quote all single quotes, then single-quote all args s/'/\\'/g foreach @args; @args = map "'$_'", @args; my @output = `/bin/foo @args`;
Am I missing something?
So long,
Flexx
In reply to Re: Backticked commands and the readpipe blues
by Flexx
in thread Backticked commands and the readpipe blues
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |