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

Re: Can you create *real* global variables?

by Ido (Hermit)
on Jan 25, 2002 at 01:11 UTC ( #141335=note: print w/ replies, xml ) Need Help??


in reply to Can you create *real* global variables?

The special vars of Perl aren't REAL global. They simply live in the main:: package. The magic is that when you write $! it's enforced to the main package...


Comment on Re: Can you create *real* global variables?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2015-07-05 18:13 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 (67 votes), past polls