Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: help with "symbol lookup error" message

by kcott (Archbishop)
on Feb 04, 2023 at 05:11 UTC ( [id://11150160]=note: print w/replies, xml ) Need Help??


in reply to Re^3: help with "symbol lookup error" message
in thread help with "symbol lookup error" message

When doing this sort of investigation, I find the core utility corelist to be very useful. This has a number of options; here's a selection of examples:

$ corelist File::Copy Data for 2022-05-27 File::Copy was first released with perl 5.002 $ corelist -v 5.034000 File::Copy File::Copy 2.35 $ corelist -a File::Copy Data for 2022-05-27 File::Copy was first released with perl 5.002 5.002 1.5 ... v5.34.0 2.35 ... v5.36.0 2.39

Note that some modules have been added then removed from core:

$ corelist CGI Data for 2022-05-27 CGI was first released with perl 5.004, deprecated (will be CPAN-only) + in v5.19.7 and removed from v5.21.0

If it's important to you, perlhist gives the date of Perl releases.

Modules which are core, but do not have a separate CPAN version, will show perl-<version> as the distribution when you search for them using MetaCPAN; for instance, "MetaCPAN: File::Copy" gives:

Ricardo SIGNES / perl-5.36.0 / File::Copy

On the left-hand panel, under TOOLS, the Download link points to the tarball: 'https://cpan.metacpan.org/authors/id/R/RJ/RJBS/perl-5.36.0.tar.gz'. You can't install this module separately from CPAN.

Modules which are core, but also have a separate CPAN version, show a distribution which is not perl-<version>; it may reflect the module name, e.g. Some-Module-<version>, or it may be part of a bundle of modules under a different name, e.g. Various-Modules-<version>. For instance:

$ corelist List::Util Data for 2022-05-27 List::Util was first released with perl v5.7.3 $ corelist -a List::Util | tail -2 v5.36.0 1.62

From "MetaCPAN: List::Util":

Paul Evans / Scalar-List-Utils-1.63 / List::Util

The distribution name is a link. Follow this to get additional information, including a list of bundled modules.

Also under TOOLS (left-hand panel) there's a "Jump to version" dropdown list: possibly useful if you want to install an older version from CPAN.

— Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11150160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found