in reply to Re: Restore the original order of an array after sort and performing some funchtion on array values
in thread Restore the original order of an array after sort and performing some funchtion on array values

Definitely the way to go.

For a lot of stuff, perl's list munging capabilities are much better/straightforward than dealing with array indices.

The problem at hand is one of the few instances to NOT take advantage of perl's list-centric features and work with the indices directly.

-Greg

  • Comment on Re^2: Restore the original order of an array after sort and performing some funchtion on array values