Richard Clamp > Module-CoreList-1.98 > Module::CoreList

Download:
Module-CoreList-1.98.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  5
View/Report Bugs
Module Version: 1.98   Source   Latest Release: Module-CoreList-2.25

NAME ^

Module::CoreList - what modules shipped with versions of perl

SYNOPSIS ^

 use Module::CoreList;

 print $Module::CoreList::version{5.00503}{CPAN}; # prints 1.48

 print Module::CoreList->first_release('File::Spec');       # prints 5.00503
 print Module::CoreList->first_release('File::Spec', 0.82); # prints 5.006001

 print join ", ", @{ $Module::CoreList::families{5.005} };
    # prints "5.005, 5.00503, 5.00504"

DESCRIPTION ^

Module::CoreList contains the hash of hashes %Module::CoreList::version, this is keyed on perl version as indicated in $]. The second level hash is module => version pairs.

Note, it is possible for the version of a module to be unspecified, whereby the value is undef, so use exists $version{$foo}{$bar} if that's what you're testing for.

It also contains %Module::CoreList::released hash, which has ISO formatted versions of the release dates, as gleaned from perlhist

New, in 1.96 is also the %Module::CoreList::families hash, which clusters known perl releases by their major versions.

CAVEATS ^

Module::CoreList currently only covers the 5.003_07, 5.004, 5.004_05, 5.005, 5.005_03, 5.005_04, 5.6.0, 5.6.1, 5.6.2, 5.7.3, 5.8.0, 5.8.1, 5.8.2, 5.8.3, 5.8.4, 5.8.5, 5.8.6, 5.9.0, and 5.9.1 releases of perl.

Producing this information can be rather time consuming so patches are welcomed for other versions.

HISTORY ^

Moved to Changes file

AUTHOR ^

Richard Clamp <richardc@unixbeard.net>

COPYRIGHT ^

Copyright (C) 2002-2004 Richard Clamp. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Module::Info, perl

syntax highlighting: