in reply to Re: converting libraries into modules
in thread converting libraries into modules
although using Exporter is suggested by, say, h2xs, I think using Exporter isn't a good habbit.
Its not good to pollute namespace.
Its not good to pollute namespace.
Using package::utilname(...); $utlobject->utl_method(...); is flexible enough and no real need to save few keystrokes by not pointing package name, and risking to have naming conflict later....
Also, extra dependency on Exporter, and many extra lines in your template to introduce Exporter, do not worth the effort.
Best regards,
Courage, the Cowardly Dog
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: converting libraries into modules
by dragonchild (Archbishop) on Mar 05, 2006 at 18:47 UTC | |
by Courage (Parson) on Mar 06, 2006 at 08:39 UTC |
In Section
Seekers of Perl Wisdom