Perl Libraries and Modules


  1. Lack of code reuse
  2. Perl library (perl4 style)
  3. Problems with Libraries
  4. Prefix everything with unique name
  5. Namespaces
  6. Solution with namespace
  7. Modules
  8. Packages, @INC and Namespace hierarchy
  9. use, require and import
  10. Export - Import
  11. Restrict the import
  12. On demand Import
  13. Importing
  14. Modules - behind the scene
  15. Tools for packaging and distribution
  16. Packaging modules
  17. Makefile.PL of ExtUtils::MakeMaker
  18. Makefile.PL of Module::Install
  19. Build.PL of Module::Build
  20. Changes and README
  21. MANIFEST and MANIFEST.SKIP
  22. A script
  23. A module
  24. Packaging with Makefile.PL
  25. Packaging with Build.PL
  26. A test file
  27. Writing Tests
  28. Exercises: Multiply numbers
  29. Solution: Multiply numbers
  30. Overview