On Feb 17, 2006, at 7:44 AM, Nicholas Clark wrote:
I can't resist. *Anyone* could, but *I* will.
Using http://cpants.perl.org/i/cpants.db.bz2
/home/nick/Sandpit/snap5.8.x-27191/bin/perl5.8.8 -MDBI -wle 'my $dbh =
DBI->connect("dbi:SQLite:dbname=cpants.db","",""); print
$dbh->selectall_arrayref("select count(*) from dist")->[0][0]'
9766
Which I think means that it's an index of 9766 dists. (it's from 5th
Dec 2005)
Makefile.PL:
Present Absent Total
Build.PL:
Present 1012 110 1122
Absent 8446 194 8640
Total 9458 304 9766
So almost exactly 10% of distributions with a Build.PL don't have a
Makefile.PL
Thanks, Nicholas.
Another way to slice it: of the 304 CPAN distributions that don't
contain a Makefile.PL, just over 1/3 of them do contain a Build.PL and
are therefore probably real installable things (and not just someone's
vacation photos).
-Ken