Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 333
Sundar R Avatar asked Jul 04 '13 10:07

Sundar R


People also ask

How do I find out which Perl modules are installed?

You need to use instmodsh (interactive inventory for installed Perl modules) command to find out what modules already installed on my system. instmodsh command provides an interactive shell type interface to query details of locally installed Perl modules.

Where does CPAN install to?

CPAN doesn't actually install files. It runs the install script embedded in each distribution, which then performs the actual install. For distributions using ExtUtils::MakeMaker, the defaults are documented here: https://metacpan.org/pod/ExtUtils::MakeMaker#make-install (and the default value of INSTALLDIRS is site ).

What does CPAN consist of?

The Comprehensive Perl Archive Network (CPAN) is a repository of over 250,000 software modules and accompanying documentation for 39,000 distributions, written in the Perl programming language by over 12,000 contributors.

What is a Perl distribution?

In Perl a true value is any value that is not: null, zero or a zero-length string. A distribution is a collection of files that usually includes a Perl module and several other files.


1 Answers

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

like image 71
ikegami Avatar answered Nov 02 '22 10:11

ikegami