A Perl module is a library file that uses package declarations to create its own namespace. Perl modules provide an extra level of protection from name collisions beyond that provided by my and use strict . They also serve as the basic mechanism for defining object-oriented classes. |