I recently ran this on my system:
perl -MCPAN -e 'CPAN::Shell->r'
If the CPAN module is installed, that will give you recommendations about which modules to upgrade on your system. I think that's a great trick!

In my case, I found that most of the result list was comprised of modules that we'd installed, tried out, and then abandoned, and that's way they are out of date now.

So now I'd like the answer to a more difficult question: "Show me which modules haven't been used in last X Months". A function like that would be useful to find which modules we could just nuke, or not re-install if we need to re-create everything.

The solution that comes to mind is some sort of "module logging" which would keep track of the last time a module was "used". I know of no such facility in Perl, though. How do other folks handle the process of weeding out abandoned modules? Any good automated solutions out there?

-mark


In reply to tracking module usage, and abandoning them by markjugg

Title:
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, details, 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, summary, 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.