in reply to Re^2: scripting tar
in thread scripting tar
Well, that line was pulled from a more complex script, that is far easier to do in Perl, than something like bash shell. For instance, what if you were automating writing the tarballs to a cd/dvd, or transferring it over a socket to another location, forking the work off, etc. Additionally, file and directory operations are soooo much easier with Perl, than shell, especially if you are used to Perl and abhor shell syntax.
So....it is often better to use Perl , and run the occaisional command thru system/backtick/pipe, and have the full power of Perl available when needed for things shell dosn't do well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: scripting tar
by slacker (Friar) on Jan 31, 2009 at 22:09 UTC | |
by zentara (Cardinal) on Jan 31, 2009 at 22:15 UTC | |
by slacker (Friar) on Jan 31, 2009 at 22:46 UTC | |
by zentara (Cardinal) on Feb 01, 2009 at 14:58 UTC | |
by Tanktalus (Canon) on Jan 31, 2009 at 22:37 UTC | |
|
Re^4: scripting tar
by FredKJ (Novice) on Feb 02, 2009 at 19:10 UTC |