in reply to Re^3: Sorting or Aligning Parallel Hashes
in thread Sorting or Aligning Parallel Hashes

I don't get why you didn't use a hash slice.
my @sorted_words = @HashA{@sorted_scores};

push(@sorted_words = $HashA{$_};
That is sooo wrong, I can't believe you wrote that.
push @sorted_words, $HashA{$_};

Replies are listed 'Best First'.
Re^5: Sorting or Aligning Parallel Hashes
by ikegami (Patriarch) on Apr 03, 2006 at 14:09 UTC
    Goind points. The second was a copy and paste error. I fixed it in the original.