Raku is a major improvement on Perl in many ways: syntactically, semantically, performance-wise. This class looks in depth at the features of this powerful new language and at many of the programming techniques those features make available. Numerous real-world examples of porting Perl code to Raku 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 Raku (optional) type system
- Exception handling in Raku
- Pattern matching in Raku
- Subroutines in Raku:
- parameter lists
- lvalue subroutines
- context introspection
- Object orientation in Raku
- Advanced features:
- curried functions
- placeholder variables
- mutable syntax
- Porting Perl to Raku
- Mail searching
- Text translations
- System administration
- Enhanced command-line tools
1-day or 2-day seminar
Perl programmers from all disciplines who are familiar with the basics of control flow, string handling, and simple data structures (scalars, arrays, hashes) in Perl.