in reply to Autovivification and soft refs
What's the problem here? Perl is populating the hash %stopper, just as you ordered it to do. Replace the last line with print Dumper \%stopper and you'll see.print "Case 4: stopper scalar\n"; $x = 'stopper'; exists $x->{'y'}->{'z'}; print Dumper $x;
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Autovivification and soft refs
by pg (Canon) on Jan 22, 2004 at 04:05 UTC | |
by Abigail-II (Bishop) on Jan 22, 2004 at 09:35 UTC | |
by thelenm (Vicar) on Jan 22, 2004 at 05:03 UTC |