in reply to Re: Possible redundant use of "use strict" and "use warnings"?
in thread Possible redundant use of "use strict" and "use warnings"?
Perl remembers the modules already loaded (%INC) and does not load them again.
Yes, but to be nitpicky that's a feature of require - use is equivalent to BEGIN { require Module; Module->import( LIST ); }, meaning that multiple use statements will still cause the packages' ->import method to be called multiple times, which may make a difference if import does some nonstandard things.
|
---|
In Section
Seekers of Perl Wisdom