Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 imbibing at the Monastery: (4)
As of 2017-07-21 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (333 votes). Check out past polls.