go ahead... be a heretic | |
PerlMonks |
Re^2: Writing Modules/namespace polutionby Mugatu (Monk) |
on Mar 16, 2005 at 16:50 UTC ( [id://440016]=note: print w/replies, xml ) | Need Help?? |
Notwithstanding the fact that he doesn't appear to need to export anything -- as pointed out by other posts -- I'm not so sure it's advisable to suggest using @EXPORT very often. I realize a lot of well known and good modules do this, but most of the time, I think it makes more sense to use @EXPORT_OK and let the caller specify what they want to import.
In Section
Seekers of Perl Wisdom
|
|