in reply to Dereferencing Hash of Array

In your last chunk:
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"; } }
That inner foreach is not doing anything usefull, that's like saying this:
foreach (@array) { print @array; }
Do you really mean:
foreach (@array) { print $_; }
If that's the case, then maybe this will work:
foreach my $group (keys %np_matches) { print "blah $group:\n"; foreach (@{$np_matches{$group}}) { print "\t@{$_}\n"; } }
Hope this helps

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--