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 reply to Re^2: Possible redundant use of "use strict" and "use warnings"?
by haukex
in thread Possible redundant use of "use strict" and "use warnings"?
by Special_K
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |