in reply to Dereferencing Hash of Array
That inner foreach is not doing anything usefull, that's like saying this:foreach my $group (keys %no_priv_matches) { print "New interconnects for $group are:\n"; foreach (@{$no_priv_matches{$group}}) { print "\t@{$no_priv_matches{$group}}\n"; } }
Do you really mean:foreach (@array) { print @array; }
If that's the case, then maybe this will work:foreach (@array) { print $_; }
Hope this helpsforeach my $group (keys %np_matches) { print "blah $group:\n"; foreach (@{$np_matches{$group}}) { print "\t@{$_}\n"; } }
Jeff
R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--
|
|---|