my ( @hashes ) = ({},{}); while(<>) { chomp; @_=split /\,/; $hashes[$_]{$_[$_]} = 1 for (0..1); } @_=sort keys %{$hashes[1]}; print "$_," . shift(@_) . "\n" for sort keys %{$hashes[0]}
-M
Free your mind
In reply to Re: Sorting Issue
by Moron
in thread Sorting Issue
by farhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |