On Wed, Aug 19, 2009 at 09:03, Peter Scott<pe...@psdt.com> wrote:
snip
> The Exporter isn't hard to learn, and Exporter::Simple is even easier and
> prettier.  Non O-O procedures should be exported.
snip

That last sentence should read "Non OO procedures should be exported
on demand."  Modules should not import anything by default (unless the
purpose of the module is to import the function).  Modules that just
dump all of their functions in the calling package pollute the
namespace.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to