In my opinion, Perl is simply another tool in the toolbox,
which may or may not replace your Shell scripts
I advocate writing all non-trivial new scripts in Perl, not shell.
As for why, see Unix shell versus Perl.
Re learning Perl in general, a good place to start
is learn.perl.org.
| [reply] |
I advocate writing all non-trivial new scripts in Perl, not shell. Absolutely, I totally agree.
The point I was trying to make was that shell scripts are ideal for simple stuff. And that it doesn't usually make sense to use Perl for those tasks... Unless those scripts are beyond two or three lines, or the shell doesn't provide enough power or control.
In otherwords, if the shell already provides what you need, there isn't much (or any) benefit in rolling your own, whether it be in Perl, VB, php, or any other scripting language...
| [reply] |