Sundar R
Sundar R

Reputation: 14735

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

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.

Upvotes: 12

Views: 155

Answers (4)

JRFerguson
JRFerguson

Reputation: 7526

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.

Upvotes: 3

shawnhcorey
shawnhcorey

Reputation: 3601

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

Upvotes: 1

Greg Bacon
Greg Bacon

Reputation: 139681

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.

Upvotes: -1

ikegami
ikegami

Reputation: 386541

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

Upvotes: 17

Related Questions