Perl: the Markov chain saw | |
PerlMonks |
Re: Is it ok to require a module in a sub or method?by merlyn (Sage) |
on Sep 11, 2007 at 16:09 UTC ( [id://638344]=note: print w/replies, xml ) | Need Help?? |
The require checks %INC, and if it's already there, is a no-op. So feel free... it's just a hash lookup on every time but the first.
In Section
Seekers of Perl Wisdom
|
|