Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: use vars in a require()d file

by athomason (Curate)
on Mar 12, 2001 at 05:58 UTC ( #63715=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Unlike pragmas that affect the `$^H' hints variable, the `use vars'
    and `use subs' declarations are not BLOCK-scoped. They are thus
    effective for the entire file in which they appear. You may not
    rescind such declarations with `no vars' or `no subs'.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (17)
As of 2015-07-29 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls