Here they are (there are more than 10, but that's why Perl is great: tons of super-useful modules):
Modules that make Perl what it is:
- CGI (+ CGI::Carp), I am an old school guy (but I use it with mod_perl when it makes sense though),
- DBI (+ DBD::mysql, DBD::Pg, DBD::SQLite), SQLite for quick hacks and when there is only one user, Pg most of the time,
- Text::Template, simple but powerful enough for me,
- YAML, successor to Data::Denter, nicer output IMHO
than Data::Dumper, safer to use too, modified to allow for
variables (a-la-XML::Simple in its latest version)
- Inline::File, an yes, I do pack templates with the code now (see Re: Favourite modules),
- Getopt::Std, I should really switch to Getopt::Long though
- Text::Iconv or Encode depending on the version of Perl available
- Scalar::Util, for weaken, that allows me to use complex data structures while still taking advantage of Perl's garbage collection,
- File::Find, I haven't switched to File::Find::Rule yet
Convenient modules I use a lot these days:
- Memoize, especially to memoize the output of the following one,
- Digest::MD5, to sort through heaps of archived data and figure out what was stored twice under different names
- XML::Twig, surprise surprise ;--)
- XML::Simple, battles with YAML for my configuration storage needs,
- XML::PYX, for one-liners,
- XML::LibXML, when I manage to get it installed, which is not
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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||