Mezgani blog

July 21, 2009

cpan recent modules

Filed under: bash, perl — Tags: , — Ali MEZGANI @ 1:42 am

This command grabs and print the URL of a plain text file that lists new files added to CPAN the past two weeks.
$ perl -MLWP::Simple -e “getprint ‘http://cpan.org/RECENT’”

You can easily make it part of a tidy little shell command, like this one that mails you the list of new SOAP::modules
$ perl -MLWP::Simple -e “getprint ‘http://cpan.org/RECENT’” | grep “/by-module/SOAP” | mail -s “New SOAP module! ” $USER

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.