How do I tell from a module’s CPAN page whether it is in the core distribution?

186 Views Asked by At

For example, when going through the Time::HiRes documentation on search.cpan.org, is there some indication in the page itself the module is now part of Perl core distribution? I know I can usually find that out with some googling, but I'm trying to know if there’s an easier way.

4

There are 4 best solutions below

1
ikegami On BEST ANSWER

Use corelist.

>corelist Time::HiRes

Data for 2013-06-21
Time::HiRes was first released with perl v5.7.3

Also try corelist -a Time::HiRes

0
Greg Bacon On

Not directly, but you can get fairly close.

Open perlmodlib in another browser tab or run perldoc perlmodlib in a shell window. Then search the perlmodlib documentation, particularly the Standard Modules section, for the name of the module in question.

0
shawnhcorey On

If you want a list of the standard modules installed with Perl, see http://perldoc.perl.org/perlmodlib.html#Standard-Modules

0
JRFerguson On

Web site corelist is a web interface to Module::CoreList like the command line tool with the same name. Like the command line tool, the web interface is able to compare two Perl versions for modules that have been added, removed and/or updated.