Packages Go to the previous , next section.
Packages Perl provides a mechanism for alternate namespaces to protect packages from stomping on each others variables. By use of the package declaration, you can switch namespaces. Typically it would be the first declaration in a file to be included by the require operator. You can refer to variables and filehandles in other packages by prefixing the identifier with the package name and a single quote. Only identifiers starting with letters are stored in the packages symbol table.