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[...])
- EXP: Postfix dereference operators ($ref->%*)
- EXP: Subroutine signatures (sub mysub( $foo, $bar, @baz ) { ... })
- IO::Socket::IP