Then you do need the initialization. You could write something along the lines of
for my $a (@members) { for my $b (@memebers) { $overlap->{$a}{$b} = 0; } }
before the other loop.
In reply to Re^5: how to set a value for a hash reference
by moritz
in thread how to set a value for a hash reference
by AWallBuilder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |