in reply to unblessed reference problem
You may want to rearrange your hash so that the domain is the *last* rather than the first key. That way, you can do:
foreach my $domain (sort {$a cmp $b} keys %{$$hash{$var1}{$var2}}) + { my $value = $$hash{$var1}{$var2}{$domain} }
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unblessed reference problem
by roboticus (Chancellor) on Mar 26, 2010 at 12:09 UTC | |
by chromatic (Archbishop) on Mar 26, 2010 at 18:55 UTC | |
|
Re^2: unblessed reference problem
by gdolph (Novice) on Mar 26, 2010 at 12:13 UTC |