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

I'm looking for a document that details what features were added in what version of Perl. That is, how is Perl 5.004 different fro, 5.005, 5.6.0, 5.6.1, 5.8, etc...

By "features" I mean things like "our", export tags, warnings pragma, being able to do things like "open my $fh, $filename" etc. I already know where to get core module history information (Module::CoreList).

  • Comment on Looking for a document with the feature history of Perl

Replies are listed 'Best First'.
Re: Looking for a document with the feature history of Perl
by ghenry (Vicar) on Apr 05, 2005 at 14:17 UTC
Re: Looking for a document with the feature history of Perl
by davido (Cardinal) on Apr 05, 2005 at 15:11 UTC

    It may not be the most efficient way, but when I have a question regarding when a particular feature was added, I scan my way through the perldelta PODs. There are a handful of them, and so its usually easier to write a little one-liner that scans through them looking for some keyword, except in the case of things like "our", where the word is so common in the English language that its difficult to craft a RE to find the specific usage relating to the addition of the our function.

    To this end, I find grep quite useful, as it returns the entire line. I usually script for output that tells the POD name, the line number, and the content of the line that matched. I may get a few 'hits', but its easy to filter out the chafe at that point.

    The perldeltas are named perldelta (for the Perl version currently installed on your system), and also such names as perl561delta, perl580delta, and so on, for each previous version.


    Dave

Re: Looking for a document with the feature history of Perl
by Joost (Canon) on Apr 05, 2005 at 16:34 UTC
Re: Looking for a document with the feature history of Perl
by cog (Parson) on Apr 05, 2005 at 14:36 UTC