|There's more than one way to do things|
Which core modules did Perl 5.x have?by w-ber (Hermit)
|on Feb 28, 2008 at 15:49 UTC||Need Help??|
w-ber has asked for the
wisdom of the Perl Monks concerning the following question:
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.