in reply to Re^2: Problems with HOHOH modification
in thread Problems with HOHOH modification
$HOHOH{'Alphakey2'}->{'Betakey2'} ||= {}; will initialize with a new (empty) hashref if there's not already an existing key at that level (although keep in mind that that will also populate $HOHOH{'Alphakey2'} with a new hashref as well if it doesn't exist; search for "autovivification" for more details, and go read perlreftut and perlref as well until it becomes clear).
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problems with HOHOH modification
by tamaguchi (Pilgrim) on Feb 13, 2008 at 19:33 UTC | |
by GrandFather (Saint) on Feb 13, 2008 at 19:54 UTC | |
by kyle (Abbot) on Feb 13, 2008 at 20:27 UTC |