Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: eval require

by chromatic (Archbishop)
on Nov 07, 2012 at 20:37 UTC ( #1002737=note: print w/ replies, xml ) Need Help??


in reply to eval require

Yes. Module symbols are globally visible.

With that said, be aware of the difference between using use which takes effect at the point of compilation (such as importing symbols into your namespace) and eval which takes effect as the program runs (and which won't let you refer to those symbols with unqualified names).


Improve your skills with Modern Perl: the free book.


Comment on Re: eval require

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-09-16 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls