![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Sort array1 according to sorting of array2by I0 (Priest) |
on Aug 26, 2004 at 05:50 UTC ( #385922=note: print w/replies, xml ) | Need Help?? |
@arr1=@arr1[sort{$arr2[$a]<=>$arr2[$b]}0..$#arr2];
In Section
Seekers of Perl Wisdom
|
|