Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1052640]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-20 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found