Perl 5.10 added more useful features to the language than any other release since Perl 5.0.0. Most people are now using Perl 5.10 or later, but often without taking advantage of those new features.
Perls 5.12 through 5.22 are more recent annual releases of Perl and provide important refinements and enhancements to the extra functionality introduced in Perl 5.10. Perl 5.24 is the next release of Perl, scheduled for mid-2016.
This one-day tutorial provides a detailed introduction to the new and improved features of these modern versions of Perl 5, along with practical examples of how they can improve the performance, robustness, and maintainability of your code.
Topics covered include:
- Backward and forward compatibility using the feature pragma
- Smartmatching comparisons
- Perl's new switch statement
- Many new features and performance improvements for regular expression
- State variables
- Lexical subroutines
- Handling defaults with the defined-or operator
- New and improved file and filetest operations
- Recursive sorting and pattern matching
- The new UNITCHECK execution phase
- The extended package definition syntax
- Implicit strictures
- Using each on arrays
- Using array or hash references in place of arrays or hashes
- Much more reliable exception handling
- New and improved core modules and pragmas
- New documentation
- Deprecations and feature removals
- Where to expect better (or worse!) performance
Perl programmers of all skill and experience levels will benefit from this class.