Perl 5.10 added more useful features to the language than any other release since Perl 5.0.0. Perls 5.12 through 5.28 are more recent annual releases that provide important refinements and further enhancements. Perl 5.30 is the most recent release, with Perl 5.32 scheduled for mid-2020.
Most people are now using Perl 5.10 or later, but often without taking advantage of those new features.
This one-day tutorial provides a detailed introduction to the most important new and improved features of these modern versions of Perl, 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.