Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.

Comment on Re: Re^3: local vs my

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-11-30 05:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (758 votes), past polls