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

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

by GrandFather (Sage)
on Jun 20, 2005 at 20:43 UTC ( #468485=note: print w/replies, xml ) Need Help??


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

The thing of interest is that %_ is accepted as a defined variable by use strict; use warnings;

use strict; use warnings; %_ = ( a => 1, b => 2 ); print $_ {"a"};

does not generate any errors or warnings. Maybe that was what OP meant by "predefined"?


Perl is Huffman encoded by design.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://468485]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-12-05 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.