Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Possible redundant use of "use strict" and "use warnings"?

by haukex (Bishop)
on Mar 09, 2020 at 18:22 UTC ( #11114030=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114030]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2022-07-02 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (103 votes). Check out past polls.

    Notices?