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,
Very useful:
- 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 modules:
- 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
that often
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|
|