MFPM (My Favorite Perl Modules)

I guarantee that this post will only be interesting if you’re into coding or general hard-core geekery. I’ll spare everyone else the horror of taking up space on our home page with any other details. 🙂

These are ***Perl|*** modules that have become favorites of mine over the past several years of coding. I have picked them because of their aesthetic appeal to me. These are modules that I really love to use. I don’t necessarily use them frequently, but when I do, I simply have a joyful time with them. Sometimes this is because they are well-documented, or well-designed, or just plain useful. Just thinking about these modules brings on the mental equivalent of salivation. Is that wrong? Anyway, here they are.

A mouth-wateringly delicious module that lets you do all sorts of cool stuff with Internet requests of various types. Fetch web pages, parse response codes, send custom POST forms, dissect every last bit of data… awesome.

Write Perl scripts that can perform automated web-browsing. You can actually simulate clicking on a URL, filling out a form, submitting, parsing the returned text, filling out another form, downloading a file, etc. Great stuff.

A must-have. Simple, elegant way to easily print out the contents of any data structure.

I know, this one’s a bit old in the tooth, rather bloated, and archaic. Many people have moved on to more sophisticated techniques like templating with HTML::Mason or what-have-you. I still love good o’l CGI for its never-ending bag of tricks, and its ability to break down an otherwide unruly HTML page into a nicely laid out set of function calls.

Simple, easy-to-use module for storing your data structures. Syntax? store($structure,$file); and retrieve($file); Yep, it’s that easy.

Superclass to perform database operations on any type of database driver. The functions work the same no matter what database you’re using, so you can write very portable DB code with a minimum of customization.

There are thousands of other modules out there, but I simply haven’t had the time or the reason to try them all out. Anybody else got a good module to recommend?

Leave a Reply

Your email address will not be published. Required fields are marked *