Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Which core modules did Perl 5.x have?

by w-ber (Hermit)
on Feb 28, 2008 at 15:49 UTC ( #670914=perlquestion: print w/ replies, xml ) Need Help??
w-ber 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";

Comment on Which core modules did Perl 5.x have?
Re: Which core modules did Perl 5.x have?
by ForgotPasswordAgain (Deacon) 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
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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2014-04-17 19:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls