On Fri, Jun 27, 2014 at 5:09 PM, Kripa <[email protected]> wrote:

> Is there a way to learn the differences perl versions N1 and N2,
> without having to digest each intermediate perldelta and accumulate
> their wisdom one step at a time?
>
> Alternatively, is there a single table which presents a comparison
> of multiple versions (along the lines of some cable companies'
> subscription level comparisons)?
>

​The single best retrospective document is *perldoc perlexperiment*
http://search.cpan.org/~rjbs/perl-5.20.0/pod/perlexperiment.pod
http://perldoc.perl.org/search.html?q=perlexperiment​
​but that doesn't have all the never-experimental additions?

I think i've seen a table of syntax/function extensions by release, but I
can't find it now.

​Part of the information is in *Module::CoreList *and corelist utility
http://perldoc.perl.org/corelist.html ​
​(When was a module first added to Core, if ever; when deprecated/removed;
 what  Module version in what Perl release.)​

​Part is encoded in *feature.pm <http://feature.pm>*: what is turned on by
"use 5.10.0"​ etc
http://cpansearch.perl.org/src/WOLFSAGE/perl-5.21.1/lib/feature.pm

> our %feature_bundle = (
> "5.10" => [qw(array_base say state switch)],
> "5.11" => [qw(array_base say state switch unicode_strings)],
> "5.15" => [qw(current_sub evalbytes fc say state switch unicode_eval
> unicode_strings)],
> "all" => [qw(array_base current_sub evalbytes fc lexical_subs postderef
> postderef_qq say signatures state switch unicode_eval unicode_strings)],
> "default" => [qw(array_base)],
> );


​Note that "use 5.20;" does NOT turn on latest features, which must be
asked for by name, preferably by 'experimental', or features 'all'
(dangerous if not paired with use 5.20 to detect not-new-enough), or via  *use
Modern
<http://search.cpan.org/~chromatic/Modern-Perl-1.20140107/lib/Modern/Perl.pm>::
<http://search.cpan.org/~chromatic/Modern-Perl-1.20140107/lib/Modern/Perl.pm>Perl
<http://search.cpan.org/~chromatic/Modern-Perl-1.20140107/lib/Modern/Perl.pm>
'2014'; * which gets you 5.18's features, but not 5.20 yet? (Perl5i only
gets you 5.10.0.)


-- 
Bill Ricker
[email protected]
https://www.linkedin.com/in/n1vux

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to