|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Why do multiple requires not work?by DrHyde (Prior) |
| on Dec 06, 2012 at 11:52 UTC ( #1007546=note: print w/ replies, xml ) | Need Help?? |
|
require checks %INC to see if a file has already been loaded. This is explained in the documentation. use also checks %INC (because it is exactly equivalent to BEGIN { require Module; Module->import( LIST ); }) but regardless of whether the module was already loaded or not it still calls the import() method.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||