Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: non-autovivifing hash (not read-only keys)

by tye (Sage)
on Jul 02, 2003 at 18:03 UTC ( #270892=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        $hash{key}= 'value';
    
  2. or download this
        no autovivify;
        my %hash;
    ...
        # Examples of autovivification:
        $hash{key4}{key3}= 'value'; # should fail!
        $hash{key5}[0]= 1;          # should fail!
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2023-12-08 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (36 votes). Check out past polls.

    Notices?