1Module::CoreList(3pm)  Perl Programmers Reference Guide  Module::CoreList(3pm)
2
3
4

NAME

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

SYNOPSIS

9        use Module::CoreList;
10
11        print $Module::CoreList::version{5.00503}{CPAN}; # prints 1.48
12
13        print Module::CoreList->first_release('File::Spec');         # prints 5.00405
14        print Module::CoreList->first_release_by_date('File::Spec'); # prints 5.005
15        print Module::CoreList->first_release('File::Spec', 0.82);   # prints 5.006001
16
17        print join ', ', Module::CoreList->find_modules(qr/Data/);
18           # prints 'Data::Dumper'
19        print join ', ', Module::CoreList->find_modules(qr/test::h.*::.*s/i, 5.008008);
20           # prints 'Test::Harness::Assert, Test::Harness::Straps'
21
22        print join ", ", @{ $Module::CoreList::families{5.005} };
23           # prints "5.005, 5.00503, 5.00504"
24

DESCRIPTION

26       Module::CoreList contains the hash of hashes
27       %Module::CoreList::version, that is keyed on perl version as indicated
28       in $].  The second level hash is module => version pairs.
29
30       Note, it is possible for the version of a module to be unspecified,
31       whereby the value is undef, so use "exists $version{$foo}{$bar}" if
32       that's what you're testing for.
33
34       It also contains %Module::CoreList::released hash, which has ISO
35       formatted versions of the release dates, as gleaned from perlhist.
36
37       New, in 1.96 is also the %Module::CoreList::families hash, which
38       clusters known perl releases by their major versions.
39
40       Starting with 2.10, the special module name "Unicode" refers to the
41       version of the Unicode Character Database bundled with Perl.
42
43       Since 2.11, Module::CoreList::first_release() returns the first release
44       in the order of perl version numbers. If you want to get the earliest
45       perl release instead, use Module::CoreList::first_release_by_date().
46

CAVEATS

48       Module::CoreList currently covers the 5.000, 5.001, 5.002, 5.003_07,
49       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,
50       5.8.0, 5.8.1, 5.8.2, 5.8.3, 5.8.4, 5.8.5, 5.8.6, 5.8.7, 5.8.8, 5.8.9,
51       5.9.0, 5.9.1, 5.9.2, 5.9.3, 5.9.4, 5.9.5, 5.10.0 and 5.10.1 releases of
52       perl.
53

HISTORY

55       Moved to Changes file.
56

AUTHOR

58       Richard Clamp <richardc@unixbeard.net>
59
60       Currently maintained by the perl 5 porters <perl5-porters@perl.org>.
61
63       Copyright (C) 2002-2009 Richard Clamp.  All Rights Reserved.
64
65       This module is free software; you can redistribute it and/or modify it
66       under the same terms as Perl itself.
67

SEE ALSO

69       corelist, Module::Info, perl
70
71
72
73perl v5.10.1                      2009-08-22             Module::CoreList(3pm)
Impressum