note
lestrrat
<p> on linear code like that it may make things hader to read, but I don't see what's wrong with </p>
<code>
my %hash = ( ..... );
foreach my $key1 (@keyset1) {
my $inner = $hash{$key1};
foreach my $key2 (@keyset2) {
print $inner->{$key2};
}
}
</code>
<p> instead of </p>
<code>
my %hash = ( ..... );
foreach my $key1 (@keyset1) {
foreach my $key2 (@keyset2) {
print $hash{$key1}{$key2};
}
}
</code>
<p> That doesn't sacrifice too much in readability, I think </p>
213125
213148