in reply to Re: Namespaces contiguous in the entirety
in thread Namespaces contiguous in the entirety
While you're at it, your lint process may want to catch that there should only be one package statement per file, and that package statement should match the filename, including path, from some entry in @INC, with directory separators becoming ::, and a .pm thrown on at the end.My (limited) reading of modules leads me to think this is overkill. I've seen multiple package statements in a module for classes/namespaces derived from the main module, but the package was too small to worry about creating separate files. (I wonder how many modules in the core distribution make use of multiple package statements?)
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Namespaces contiguous in the entirety
by Tanktalus (Canon) on Sep 28, 2005 at 23:20 UTC |
In Section
Seekers of Perl Wisdom