Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How can you determine a CPAN module's development status? ie alpha, beta, (RTM ?) etc

by Khen1950fx (Canon)
on Sep 06, 2013 at 00:02 UTC ( #1052640=note: print w/ replies, xml ) Need Help??


in reply to How can you determine a CPAN module's development status? ie alpha, beta, (RTM ?) etc

Here's a simple way to get DSLIP_STATUS:

#!/usr/bin/perl -l use strict; use warnings; use CPAN; use Data::Dumper::Concise; my $d = shift @ARGV; my(@mods) = qw(CGI MooseX::Declare); my (@matches) = grep(($_ eq $d), @mods); if (@matches) { foreach $d (CPAN::Shell->expand("Module", $d)) { print Dumper( $d->dslip_status ); } }

Give the script a name and run it one module at a time. CGI comes back as registered with a hashref, but MooseX::Declare simply returns {}.

Update: condensed version

#!/usr/bin/perl -l use strict; use warnings; use CPAN; use Data::Dumper::Concise; my $d = shift @ARGV; foreach $d (CPAN::Shell->expand("Module", $d)) { print Dumper( $d->dslip_status ); }


Comment on Re: How can you determine a CPAN module's development status? ie alpha, beta, (RTM ?) etc
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2015-07-07 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (90 votes), past polls