Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: require() turns off strict?

by Aristotle (Chancellor)
on Jan 06, 2003 at 13:53 UTC ( [id://224630]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: require() turns off strict?
in thread require() turns off strict?

A table of what modules have already been loaded is maintained in some variable that I don't recall at the moment.
That would be the %INC hash.
(I think) *if* it is present in the 'use'-d package.
Not quite. If you specify an empty import list as in use Module (); then its import() won't be called at all (not even with no parameters).

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-05-18 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found