techman2006 has asked for the wisdom of the Perl Monks concerning the following question:
I am bit confuse to select out of IPC::Open3 or back ticks for running tar command (as need to archive a set of files). But also need to make sure that any abort operation should be avoided as once the tar operation is completed I need to perform some DB operations.
In the above approach if any error happens occur while archiving I just need to avoid the DB operation and may accept the abort operation request.
So what you suggest and if possible can I have a small example which I can use as reference.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need suggestion for selecting IPC::Open3 or backticks
by kcott (Archbishop) on Nov 12, 2013 at 17:56 UTC | |
by techman2006 (Beadle) on Nov 12, 2013 at 18:29 UTC | |
by kcott (Archbishop) on Nov 12, 2013 at 19:10 UTC | |
|
Re: Need suggestion for selecting IPC::Open3 or backticks
by zentara (Cardinal) on Nov 12, 2013 at 20:12 UTC | |
|
Re: Need suggestion for selecting IPC::Open3 or backticks
by kennethk (Abbot) on Nov 12, 2013 at 18:40 UTC |