Skip to content

ChicagoPM/perldelta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

perldelta - The Changes in Perl from 5.10 to 5.20

VERSION

1.0 (2014-04-26)

DESCRIPTION

This talk is about the important changes in Perl since 5.8.

These are the things that are generally useful and remained useful to the modern Perl.

RUNNING TIME

Approximately 50 minutes.

TOPICS COVERED

  • If you upgrade to 5.10 you get:

    say
    state
    defined-or (//)
    Switch (given/when)
    Module::CoreList – List the modules your Perl has in core
  • If you upgrade to 5.12 you get:

    The yada-yada operator (…)
    each(), keys(), and values() on arrays
    autodie
  • If you upgrade to 5.14 you get:

    Non-destructive substitution (s///r)
    More reliable exception throwing
    HTTP::Tiny
    JSON::PP
  • If you upgrade to 5.16 you get:

    Reference to the current running sub (__SUB__)
  • If you upgrade to 5.18 you get:

    Lexical subroutines (my sub, our sub, state sub)
  • Awaiting us in 5.20:

    Hash-based slices (%hash{…} and %array[…])
    Postfix dereference operators ($ref->%*)
    Subroutine signatures (sub mysub( $foo, $bar, @baz ) { … })
    IO::Socket::IP

PREREQUISITES

Basic knowledge of Perl

One of the community-approved beginner books will work splendidly.

AUTHORS

Doug Bell <[email protected]>

COPYRIGHT

(c) 2014 Doug Bell

LICENSE

This presentation and associated code is licensed under the same terms as Perl itself (Artistic License 1.0 or GPL 1.0 at your discretion).

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 39:

Non-ASCII character seen before =encoding in '–'. Assuming UTF-8

About

New Perl features from 5.10-5.20

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages