Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Summary of salient changes to Perl 5 between the major releases?

by Anonymous Monk
on Jul 27, 2012 at 15:59 UTC ( #984047=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there a concise but summary listing of the most salient changes and additions made to Perl 5 over time?

The perl delta files have all the detailed info for all minor releases, but is there a summary of it anywhere? I'm just looking for one page with bullet points for the major feature changes and additions.

Thanks.

Comment on Summary of salient changes to Perl 5 between the major releases?
Re: Summary of salient changes to Perl 5 between the major releases?
by daxim (Chaplain) on Jul 27, 2012 at 16:04 UTC

      Thanks for the links, daxim.

      I should've been more specific: I'm more interested in the major modern changes and additions since 5.8. Sorry for not being specific enough.

      Some examples of what I'd like to know:

      • When was given/when added?
      • When was smart match added?
      • Have there been any pragmas added which, when used, deprecate older less-recommended features?

      And the biggest, which I was unable to articulate until just now: What do the "use 5.$X" pragmas get me? Which features do they enable/disable?

      Thanks so much!

        Many of your questions are answered by the documentation for the feature pragma

        TJD

Re: Summary of salient changes to Perl 5 between the major releases?
by tobyink (Abbot) on Jul 28, 2012 at 19:21 UTC

    I'd say the big ones are:

    Perl 5.8
    Decent Unicode
    Decent threading
    PerlIO layer
    Perl 5.10
    Smart match operator
    Defined-or operator
    given and when
    state
    say
    Perl 5.12
    Implicit strictures
    each(@array), keys(@array), values(@array)
    package Foo::Bar 1.23;
    Postfix form of when
    Yada-yada-yada operator
    Perl 5.14
    push $arrayref, @items, etc
    package Foo::Bar 1.23 { ... }
    s///r
    Perl 5.16
    __SUB__
    fc

    I've specifically ignored any new pragmata and core modules, as those are often also available on CPAN for older versions.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://984047]
Approved by davido
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-12-27 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls