Perl Idioms - Table of Contents

  1. Idioms
  2. Embrace && and || for Control and Values
  3. Learn Precedence
  4. Precedence Examples
  5. Warning on ?: Precedence
  6. Don't Overdo `?:'
  7. Mock This Code
  8. Best as an expression
  9. Embrace Pattern Matching
  10. Changing en passant
  11. Negative Array Subscripts
  12. Embrace Hashes
  13. Use Hashes for Sets
  14. Or
  15. Use Hashes for the First Time
  16. Use Hashes of Records, not Parallel Arrays
  17. Oh the horror
  18. Use $_ in Short Code
  19. Versus
  20. Use foreach() Loops
  21. And
  22. Avoid Symbolic References
  23. Using A Hash Instead of $$name
  24. Learn to Switch with for
  25. Switch by Using do{} Creatively
  26. Switch with for via && and ||
  27. Switch Using for and do{} Even More Creatively
Table of Contents YAPC 19101, June 2001
Perl Idioms
Nathan Torkington