[sf-perl] find latest version of module from cpan

Paul Makepeace Paul.Makepeace at realprogrammers.com
Mon Aug 2 19:44:51 PDT 2010

On Mon, Aug 2, 2010 at 14:47, Matthew Lanier <matt at lanier.org> wrote:
> folks-
> i'm looking for a way, either by probing cpan.perl.org via lwp, or via the
> cpan shell, to find out the latest available version of a module
> programatically.  constraints are:

Second field after the first para in,

*pokes around*

print "$module latest version is ",
  CPAN::Shell->expand(Module => $module)->cpan_version;

seems to work...


More information about the SanFrancisco-pm mailing list