aid my fiance' in doing some log analysis. And I'm no Perl guru - my biggest Perl program till date wouldn't have been more than a 100 lines.
Here's my raves and rants on it
Raves
- Most powerful reg ex capabilities with a full programming language
to back it up! - Large and powerful standard library.
- Platform independent
Have windoze at work, usually am on a cygwin console and have
linux/windows dual boot at home. Perl doesn't complain!
Rants
- Syntax - I've never got used to the ultra concise Perl vars. But
then, I dont use it regularly enough. Still, the syntax just isnt
readable. - Syntax isn't orthogonal - guess what I'm trying to say is that there
isn't one and only one way to achieve something. While this is totally
against the Perl mantra of "There's more than one way to do it", in
spite of using it on and off, I've never been able to embrace- References
- Subs
- OO Perl
- Writing perl mods
I've used all of them at sometime or the other but the next time I
pick up Perl to do some nifty little script, I find myself going
through perlsub, perlref, perlreftut and perltoot - not nice!
I guess at sometime I did come across Python - which is supposed to
address all the shortcomings of Perl while retaining the pluses. But then once I got everything set up, saw that its indentation sensitive!! Now does that remind me of something....called FORTRAN ??
Anyway, it put me off so much that I never took a look at it again - probably I should, and be more generous while at it!
Meanwhile, I'll use Perl the next time I need to write a nifty little
script to do some text analysis.
Interested? - I'll recommend Robert's perl tutorial.
Programmer: n. Person who spends 10 hours automating something that
takes an hour manually just so that
- He can see his program complete the work in 1 hour.
- He can tell his poor kith and kin what a great guy he is.
No comments :
Post a Comment