Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Which core modules did Perl 5.x have?

by vrk (Chaplain)
on Feb 28, 2008 at 15:49 UTC ( [id://670914]=perlquestion: print w/replies, xml ) Need Help??

vrk has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,

is there someplace a comprehensive list of core modules shipped with Perl, grouped by the version? I have to remain compatible with 5.6.0 in an environment where installing CPAN modules is not an option, so I need to limit myself to what comes with Perl.

There are two places I know that contain the answer, but both require much more involvement than I currently have time for. First is perldelta, perlhist, et al., which list changes from the previous versions. However, it doesn't contain a list of all core modules, only new or changed ones, so I would have to read through all delta files since the beginning.

The second that comes close is the list of core modules for the latest version. Some, but certainly not all, modules contain documentation when they were included in the core. Most contain a date when the module was created, or that can be deduced from the copyright notice, but there's no indication if the module was written then and included later.

One option is to install vanilla 5.6.0 on some machine and check the list of modules, but surely there has to be a list somewhere? Isn't this frequently needed information?

For those who think I'm shooting myself in the foot by not installing 5.6.0 and testing the program on it, I started programming in Perl when 5.6 came out, so I know already what has changed on the level of syntax and semantics, and can write compatible code. Arrogance? Yes, and when in doubt, I check perldelta.

--
print "Just Another Perl Adept\n";

Replies are listed 'Best First'.
Re: Which core modules did Perl 5.x have?
by ForgotPasswordAgain (Priest) on Feb 28, 2008 at 15:55 UTC

      Very nice, but doesn't work for 5.8.8 in Slackware 12.0:

      $ perldoc Module::CoreList No documentation found for "Module::CoreList". $ perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.18.6, archname=i486-linux-thread-multi [snip]

      --
      print "Just Another Perl Adept\n";

        With Perl 5.8.5:

        C:\>corelist Module::CoreList Module::CoreList was not in CORE (or so I think)

        But the nice thing is, you can install it on any version of Perl via cpan.

        With Perl 5.10 (Strawberry):

        C:\>corelist Module::CoreList Module::CoreList was first released with perl 5.009002

        So, starting at 5.10, you don't need to install it necessarily.

Re: Which core modules did Perl 5.x have?
by ysth (Canon) on Feb 28, 2008 at 19:08 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found