On Thu, 12 Jun 2003 09:48:31 -0400 Chun Kit Edwin Lau <try_email_me@yahoo.ca> wrote: > In what situation does ppl normally use shell script and when > when will ppl use Perl? How about their performance like speed and also > the ease of programming? In years of working on unix systems from my own personal hobbiest machine up to my professional work in a large company I have never found a reason to use shell outside the rare instance when it might be nice on the command line itself. IE, stringing together a few greps with an awk or two to spit out a certain bit of information. Other than that Perl is easier to program in, far more portable, much faster and far more practical than shell. Often when I encountered someone's shell script that I needed to modify I'd just rewrite it in Perl and end up with a far faster, far easier solution. With that said, my preference now is Python and not Perl. Fills all the same niches and is infinitely more maintainable than Perl which is, in turn, infinitely more maintainable than shell. -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls. | -- Lenny Nero - Strange Days -------------------------------+---------------------------------------------
Attachment:
pgpGh6Ei7A8HE.pgp
Description: PGP signature