Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Does %_ have a function or is it just for fun?

by impossiblerobot (Deacon)
on Jul 18, 2007 at 12:42 UTC ( [id://627242]=note: print w/replies, xml ) Need Help??


in reply to Does %_ have a function or is it just for fun?

Variables/symbols that start with punctuation (including punctuation variables themselves) are automatically global, and forced into main:: ... except if the punctuation it starts with is the underscore, which doesn't make it automatically global ... except if it is the underscore variable/symbol itself, which is also automatically global.

Maybe I need to rewrite that. It's even confusing me now.


Impossible Robot

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-29 10:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found