in reply to Need suggestion for selecting IPC::Open3 or backticks
G'day techman2006,
Take a look at "perlop: Quote-Like Operators". Under qx/STRING/ (aka `STRING`), you'll find information on how to check for problems with whatever command you're running.
Also, in "perlvar: Error Variables", under $CHILD_ERROR (aka $?), you'll see how to get the status of such commands.
For running a simple tar command, IPC::Open3 doesn't seem appropriate; however, if you have more complex usage, an explanation of this would lead to a more informed answer.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need suggestion for selecting IPC::Open3 or backticks
by techman2006 (Beadle) on Nov 12, 2013 at 18:29 UTC | |
by kcott (Archbishop) on Nov 12, 2013 at 19:10 UTC |