Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re^3: local vs my

by Anonymous Monk
on Sep 03, 2002 at 03:04 UTC ( #194675=note: print w/replies, xml ) Need Help??


in reply to Re^3: local vs my
in thread local vs my

Do not confuse file scoped lexicals such as my and our can declare with package scoped globals

And do not confuse variables declared with our as anything other than the same package globals as those declared with 'use vars' or accessed by full package name. The only difference is in the scope of the unqualified access! In particular, our does not involve lexical variables at all.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194675]
help
Chatterbox?
[thezip]: stonecolddevin! 'Sup?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2016-12-07 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.