Advanced slides

  1. Always use strict and warnings
  2. Avoid warnings
  3. Turn off warnings selectively and in a small scope
  4. Catch and log warnings
  5. splain and use diagnostics
  6. Fatal warnings
  7. Logging Exceptions
  8. Always open files in the new way
  9. Array slices
  10. Array slices on the fly
  11. Hash slices
  12. Hash slices in assignment
  13. splice
  14. LIST and SCALAR context
  15. wantarray
  16. wantarray example
  17. Slow sorting
  18. Speed up sorting
  19. Schwartzian transformation
  20. Compilation phases: BEGIN, CHECK, INIT, END
  21. AUTOLOAD
  22. Static variable
  23. Exercise: create counter
  24. Solution: create counter
  25. Saved variable: local
  26. autodie
  27. Modern::Perl
  28. Perl::Critic
  29. Perl::Tidy
  30. caller
  31. Log::Dispatch
  32. Log::Log4perl easy
  33. Exercise: Log::Dispatch
  34. Solution Log::Dispatch