Perl module: Difference between revisions

Content deleted Content added
.pm files need to end in a true value, so I updated the example to include that.
MrItty (talk | contribs)
m typo repair
Line 1:
A '''Perl module''' is a discrete component of software for the [[Perl]] programming language. A moduleamodule is distinguished by a unique namespace, e.g. "CGI" or "Net::FTP" or "XML::Parser". By conventions, there is typically one module per file with a .pm extension. A collection of one or more modules, with accompanying documentation and build scripts, compose a package. The Perl community has a sizable library of packages available for search and download via [[CPAN]].
 
It is common for Perl modules to have embedded documentation. Many modules favor an [[object-oriented]] style, but many are [[procedural]] instead, especially old modules.