Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Vexed $Package::Var Usage

by wog (Curate)
on Dec 17, 2001 at 04:01 UTC ( #132421=note: print w/replies, xml ) Need Help??


in reply to Vexed $Package::Var Usage

my declares lexical scoped variables; they are not visible from outside the block or file in which they are written. To declare variables that can be accessed with the $Package::varname syntax, you need to use vars, or our.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2022-12-06 21:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?