Module of the Century

brian_d_foy on 2002-11-06T23:07:21

I finally have had time to automate the tracking of the Schwartz Factor for Perl At a Glance. Every night I figure out the size of CPAN and the mini-CPAN then put those into a "real" database instead of my sloppy flat-file format. Now I can automatically update the numbers on the web page.

The heart of the program is a little bit of DBI. I am still amazed about how much work I do not have to do when I use DBI. I nominate it for Module of The Century.

my $hash = $db->selectrow_hashref(
        'SELECT * FROM CPAN_size ORDER BY mdate DESC LIMIT 1'
        );