Advanced slides
- Always use strict and warnings
- Avoid warnings
- Turn off warnings selectively and in a small scope
- Catch and log warnings
- splain and use diagnostics
- Fatal warnings
- Logging Exceptions
- Always open files in the new way
- Array slices
- Array slices on the fly
- Hash slices
- Hash slices in assignment
- splice
- LIST and SCALAR context
- wantarray
- wantarray example
- Slow sorting
- Speed up sorting
- Schwartzian transformation
- Compilation phases: BEGIN, CHECK, INIT, END
- AUTOLOAD
- Static variable
- Exercise: create counter
- Solution: create counter
- Saved variable: local
- autodie
- Modern::Perl
- Perl::Critic
- Perl::Tidy
- caller
- Log::Dispatch
- Log::Log4perl easy
- Exercise: Log::Dispatch
- Solution Log::Dispatch