Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: The default hash - accident, coincidence or conspiracy?

by ysth (Canon)
on Jun 20, 2005 at 11:55 UTC ( #468286=note: print w/replies, xml ) Need Help??


in reply to The default hash - accident, coincidence or conspiracy?

From your example, I'm not sure what you see that is special about %_. Perhaps just that you don't have to declare it with our/use vars when under stricture?

You should be aware that there is something special about it, though. Just like $_ and @_, if you use it without a package qualifier such as %Foo::_, it references %main::_, not the current package. IIRC, this is indeed documented.

  • Comment on Re: The default hash - accident, coincidence or conspiracy?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://468286]
help
Chatterbox?
[Happy-the-monk]: Good lunchtime!
marto waves

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-11-19 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (279 votes). Check out past polls.

    Notices?