today I wrote a sendmail log parsing script. a few interesting things happened while I was working on it.
$ perl -cw myscript
yielded
"use" may collide with future keyword
eh? seems that /usr/bin/perl on this box was Perl 4 *gasp*
that was good for a chuckle.
anyway, instead of writing my own log parser (which is probably just as common as writing your own templating system) I borrowed one. I used mtop which was written by friend and former co-worker Jeff Horwitz. thanks to Jeff, all I have to do is tear apart his work to get what I need, not write it myself. kudos to open source...
speaking of Jeff, a few months ago he lets me in on an alpha of extproc_perl. If you like perl and are an oracle slave (like me), then you should probably check it out. extroc_perl is mod_perl ala oracle - perl embedded in oracle, so you can use perl methods and regular expressions from SQL or PL/SQL. smashing, baby.
With DBI users list, it appears as though everyone will know about extroc_perl before too long (wink, wink). So, if you want to be cool, impress your friends, and be a trend-setter, check it out...
Re:Pg
pudge on 2001-12-14T15:19:35
There is something similar like that for MySQL, though I can't say how good it is. It's still early in development, called myperl.