Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Dear it in more than one way doing friends,

After Favourite modules March 2002 and Favourite modules April 2003, I think it is time to list my favourite modules for March 2004.

These lists are a very good way to learn about modules you didn't know before. This and other things have influenced my list of favourite modules. The most important reason for the big difference with last year's list is that I used sort to get the modules in a more accurate order.

sort { print "A: $a\nB: $b\n> "; { A => -1, B => 1 }->{uc substr <>, 0, 1} } @foo;

For each choice between modules, I chose the one I liked better. I found that the one I like better isn't always the one that I use more often. According to Perl, this is my list for this year: (As before, excluding pragmata and my own modules)

  1. LWP
  2. B::Deparse
  3. Carp
  4. Template
  5. Benchmark
  6. DBI
  7. DBD::SQLite
  8. WWW::Mechanize
  9. File::Slurp
  10. File::Find::Rule
The modules that were in @foo but didn't make it are (in alphabetical order): Class::DBI, HTML::TreeBuilder, IPC::Run, MIME::Lite, Regexp::Common, Text::Reform.

I'll try to explain the difference with my list of April 2003:

  • I haven't used IPC::Run a lot. I think I loved it mostly because I was used to open2/open3.
  • LWP apparently is cooler than I realised. WWW::Mechanize is new and I really love it. I think it influenced my thoughts on LWP.
  • To my surprise, Regexp::Common is not as useful as it seemed. It has many very useful regexes, but in a year my own regex skills improved. For most of the situations in which I was about to use a regex from %RE, that regex was slightly different from what I had in mind. I think I used only the IP and hostname matching. The enormous number of tests also made me like it a little less: it takes too long to install.
  • Having done less email related programming, I almost even forgot about MIME::Lite.
  • Template Toolkit is new in this list. It has simplified working together with non-programmers and forces me to code in a more structured manner.
  • I have always liked File::Slurp, but with Uri Guttman's improvements it now deserves a place in the top 10.

The question for you is the same as always:

What are your favourite modules?

Juerd # { site => '', plp_site => '', do_not_use => 'spamtrap' }

In reply to Favourite modules March 2004 by Juerd

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • 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:
    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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (11)
    As of 2018-06-22 10:18 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (124 votes). Check out past polls.