In this chapter, we have looked at Perl's namespaces, and how we can take advantage of them to write reusable modules. In particular, we discussed the following:
Perl namespaces, and how to use package,
Creating Perl modules,
How to retrieve information about the environment from which a subroutine was called,
How Perl searches for modules,
How to selectively export and import names into the current package, and
How to write module documentation using POD.