When I first looked at this I was annoyed that you didn't show a fancy trick for making a @sortedages too.
Then the cola kicked in and started kicking my self over and over. =) @sortedages = sort @ages;
*thump* *thump* *thump*
--
$you = new YOU;
honk() if $you->love(perl)
In reply to RE: Simple sorting by another parallel array
by extremely
in thread Simple sorting by another parallel array
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |