in reply to Re^6: hashes with multiple values per key
in thread hashes with multiple values per key

ok, then simply this?
while (my($k,$v) = each %hash) { print "$map{$k}-$map{$v->[0]} $v->[1]\n"; }

Replies are listed 'Best First'.
Re^8: hashes with multiple values per key
by Anonymous Monk on Apr 04, 2006 at 11:04 UTC
    ahhh thank you lima1 this has been killing me and now I feel very stupid. kindest wishes