On 06/30/2006 04:45:12 PM, Joe Emenaker wrote:
Phil Ehrens wrote:
Yes, please stick with shell. Perl has too much syntactical sugar
to be used for anything longer than one line of less than 32
characters. As long as you code in shell at least SOMEBODY else
will be able to understand your script.
Well, mine's going to be in Perl because I think that it's far more
difficult to make something robust in Bourne shell. I'm going to use
it to learn object-oriented Perl (even though I consider that to be
an oxymoron).
My plan for the usage would be something like this:
Oh yeah, I'll be sticking with Borne shell. Looking at perl code makes
my eyes glaze over and my brain heads off for its happy place. Robust
code can be written in shell some one takes the time to do it. I've
seen shell code that looks like C code. I've also seen applications
that sell for a few grand that are really nothing but but fat shell
scripts. I've got a complex back up script that I pried off a AIX
machine that makes me want to cry when I look at it.
At least the next incarnation will be shell script. I want to put a
GUI wrapper around the incarnation after that. I'm just not sure what
I'll write that in.
Oh the possibilities. Excuse me, but I have to go take a bottle of
aspirin and lay down now.
Jeff