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
In reply to Re: unblessed reference problem
by roboticus
in thread unblessed reference problem
by gdolph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |