Perl 6 will be a major improvement on Perl 5 in many ways: syntactically, semantically, performance-wise. This class looks in depth at the features of the new version of Perl, and at many of the programming techniques those features make available. Numerous real-world examples of porting Perl 5 code to Perl 6 are shown.
Topics covered include:
- Rationalized syntax and semantics
- Changes and additions to operators
- New data types:
- Pairs
- Junctions
- New control structures:
- Case statements
- Entry and exit handlers
- The Perl 6 (optional) type system
- Exception handling in Perl 6
- Pattern matching in Perl 6
- Subroutines in Perl 6:
- parameter lists
- lvalue subroutines
- context introspection
- Object orientation in Perl 6
- Advanced features:
- curried functions
- placeholder variables
- mutable syntax
- Porting Perl 5 to Perl 6
- Mail searching
- Text translations
- System administration
- Enhanced command-line tools
- Using Perl 6 features in Perl 5
- The Perl6:: modules
1 or 2 day seminar
Perl programmers from all disciplines who are familiar with the basics of Perl's control flow, string handling, and simple data structures (scalars, arrays, hashes).