Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: non-autovivifing hash

by Anonymous Monk
on Jul 02, 2003 at 17:32 UTC ( #270884=note: print w/replies, xml ) Need Help??


in reply to non-autovivifing hash

First of all, hash autovivification refers to assigning a key to a previously non-existant hash, not assigning a previously undefined key to an existing hash; you are indeed not using the autovivification feature. Second of all, if your problems are assigning to the wrong hash or mis-spelling a key, don't blame Perl's features which, as you say, don't even apply in this case. Why would Perl (or any programming language, really) treat assignment of a valid key to a valid hash (albeit the incorrect one) as an error? Pay more attention while you are programming! That said, this happens at some point to everyone, it's all part of the unjoy of coding/debugging.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-12-08 15:44 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?