in reply to Perl vs. Shell Script
Like that old saw, it sure is handy to roll out Perl for everything. You need to pick up different tools when the situation dictates, however .. Perl is a complex tool, so has a large-ish memory footprint.
For something that requires lower memory requirements and fairly simple logic, a shell script would probably be a better choice. Of course, you have to weigh that against the possibility that you'll need to add a script feature that will require language features only available in Perl.
For something that requires maximum speed, on the other hand, you'll probably want hand-tuned C or even a mix of assembler and C.
So the answer, it seems, is "It depends..".
--t. alex
"Mud, mud, glorious mud. Nothing quite like it for cooling the blood!" --Michael Flanders and Donald Swann
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl vs. Shell Script
by Abigail-II (Bishop) on Jun 21, 2002 at 18:14 UTC | |
by runrig (Abbot) on Jun 21, 2002 at 21:22 UTC | |
by Abigail-II (Bishop) on Jul 01, 2002 at 11:15 UTC | |
by educated_foo (Vicar) on Jul 01, 2002 at 13:13 UTC | |
by runrig (Abbot) on Jul 01, 2002 at 20:54 UTC | |
by stefp (Vicar) on Jun 22, 2002 at 17:00 UTC | |
by Abigail-II (Bishop) on Jul 01, 2002 at 11:07 UTC |