Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Wednesday November 06, 2002
06:07 PM

Module of the Century

[ #8808 ]

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'