Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194675]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-03-17 16:36 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (224 votes). Check out past polls.