perldelta - What's new in Perl since 5.8
Details
This month, Doug Bell will be giving a presentation on just some of the new features and modules added to Perl core in the last 7 years, emphasizing those that have remained stable and useful in later versions.
The presentation will begin at 7:00pm and will run about an hour.
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[...])
• Experimental postfix dereference operators ($ref->%*)
• Experimental subroutine signatures (sub mysub( $foo, $bar, @baz ) { ... })
• IO::Socket::IP
