On Fri, 4 Aug 2017 17:51:01 +0200
hw <[email protected]> wrote:
> Huh? How many package statements is a module supposed to contain?
> And doesn´t a package statement turn a module into a package?
Convention is:
* One package per module.
* One module per package.
But if come across bad code, you may see more than one-to-one. :(
A module is a file that has a *.pm extension. Example: Foo.pm
A package is a name space that keeps its contents separate from other
packages.
--
Don't stop where the ink does.
Shawn H Corey
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/