in reply to Re: A nice little question for the insane
in thread A nice little question for the insane
chomp( @a = qx( for x in $_; do echo \$x; done ) );There's already a tool that knows how to parse command lines! :-)
Update: fixed bugs in code, which was untested. Thanks, tlm!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A nice little question for the insane
by crenz (Priest) on Apr 06, 2005 at 09:57 UTC | |
by Anonymous Monk on Apr 06, 2005 at 11:25 UTC | |
by crenz (Priest) on Apr 06, 2005 at 11:37 UTC |