Here's the short list of modules I don't like to be
caught without. These are the ones that I don't just
find convenient from time to time but rely on
- CPAN. Perl isn't properly installed until
this is set up, as far as I'm concerned.
- DateTime (I might die without this one.)
Also certain DateTime::Format modules
to go with it.
- DBI and one of the DBD modules. (I've
been using DBD::mysql, but one of the others will
probably do just as well. You want the corresponding
DateTime::Format module, e.g.,
DateTime::Format::MySQL, to go with it.)
I also have my own little wrapper module with
functions for my most common queries (add (takes
a table name and a hashref), update (ditto), and
so on), but if
I need to do something I don't have a function
for I can always hand-build a query on the
- WWW::Mechanize saves a lot of time.
If you do a lot of this, you might also want
HTML::Tree as a companion.
The look_down method is pretty keen.
- Archive::Zip is spectacularly
useful, especially for dealing with OpenOffice
documents. (Next question: will I eventually
pick an XML module similar to HTML::Tree
and use that in conjunction with Archive::Zip
for parsing, modifying, and saving my documents?
So far I'm still dealing with the XML by hand...)
- Data::Dumper is a really useful debugging
aid. There's also Data::Dumper::Streamer
- Clone::PP is helpful. The most common
things I clone are DateTime objects.
- Finally, I have a handful of my own include files
that I wouldn't want to be without; I copy them to
every system I use Perl on. These aren't modules
per se, as I 'require' rather than 'use' them.
split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||