in reply to HoH Weirdness
Somehow I think you're not using strict.
On my machine $hash{ 'key1' }{ 'key2' } gives me a compilation time error with strict
Perhaps you meant $hash{ 'key1' }->{ 'key2' } ?
Either way, do this to verify if your hashes are working the way you want them to...
use Data::Dumper; print Dumper( \%hash );
This is quick and dirty, but at least you get to do a sanity check as to what's in the hash...
----
update: added explanation in a separate node upon request :)
update: a few people have gotten me. for those of you reading my posts in this thread, please make sure to read these two posts, cause I screwed up. :(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: HoH Weirdness
by John M. Dlugosz (Monsignor) on Jun 09, 2001 at 00:19 UTC | |
by lestrrat (Deacon) on Jun 09, 2001 at 02:06 UTC | |
by chipmunk (Parson) on Jun 09, 2001 at 02:18 UTC | |
by John M. Dlugosz (Monsignor) on Jun 09, 2001 at 02:22 UTC |