Keep It Simple, Stupid | |
PerlMonks |
Re^4: Exporter/@ISA confusionby perlfan (Vicar) |
on Jun 10, 2014 at 12:50 UTC ( [id://1089409]=note: print w/replies, xml ) | Need Help?? |
This is where TIMTOWTDI. I prefer not exporting anything in my own modules. This forces the user of your module to use the full namespace at least once. Some module authors and users prefer the use Module qw(sub1 sub2) type of idiom, and while I don't mind it as a module user I don't like to enable main:: namespace pollution by providing that as something in my own modules.
In Section
Seekers of Perl Wisdom
|
|