Stories
Slash Boxes
Comments
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 ]

Alias (5735)

Alias
  (email not shown publicly)
http://ali.as/

Journal of Alias (5735)

Tuesday July 07, 2009
08:03 PM

CPANDB Tricks: Smoking the Top 100

[ #39248 ]

David Golden writes:

I'd like to be able to easily smoke test at least the volatile 100
list for the 5.10.1 RC's. Is there an easy way I can get a list in
the form:

DAGOLDEN/Sub-Uplevel-0.2002.tar.gz

Just a text file would be fine, or JSON or whatever. Just something
with AUTHOR/DISTNAME-VERSION.SUFFIX.

The Volatile 100 is my replacement for the Phalanx 100. Where the Phalanx 100 represented major functional modules that people might depend on directly the most and was curated by humans, the Volatile 100 in a graph-weighted list of the 100 most depended on distributions and is continuously updated automatically.

Finding information of the kind David needs is exactly why I created the CPANDB module. His query can be boiled down to just a single line of code.

use CPANDB;
 
my @releases = map { $_->release }
               CPANDB::Distribution->select('order by volatility desc limit 100');

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.