How to track new CPAN releases
CPAN is a fantastic Perl resource with thousands of modules and new ones being added all the time. But how do you keep track of what’s being released? This article describes three techniques for keeping tabs on the latest CPAN releases.
The CPAN website’s recent uploads page maintains a list of the latest CPAN releases, with links to the module documentation. Additionally it’s possible to search the release history using the navigating arrow links at the top of the page.
Chris Williams’ CPAN::Recent::Uploads module offers a programmatic interface to track recent CPAN uploads. It provides a “recent” function that accepts two optional arguments: the time from which to view uploads since and the URL of the CPAN mirror to use. By default it will return a list of modules released in the past week on the CPAN mirror “ftp://ftp.funet.fi/pub/CPAN/". The module’s documentation also has an example Perl one liner. To see CPAN::Recent::Uploads in action, enter this at the command-line:
# print a list of this week's CPAN releases perl -MCPAN::Recent::Uploads -le "print for CPAN::Recent::Uploads->recent;"
You can subscribe to the stream by clicking this button: Follow @cpan_new