in reply to What is Exported from modules
Never:
use Some::Module;
Instead either:
use Some::Module qw( Things Used From This Module ); #or require Some::Module;
and you won't have this problem. If you're confused, just think how confused your replacement will be.
This is why module authors should use @EXPORT_OK and never @EXPORT.
And when I say "never" remember this: All things in the strictest of moderation, including moderation.
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: What is Exported from modules (explicit!)
by Codon (Friar) on Jul 12, 2005 at 20:32 UTC |
In Section
Seekers of Perl Wisdom