in reply to Unique Array Items
How about this way:
Update: Guess I didn't read the other replies close enough. This is just a rewording of sauoq's reply above.my %items; @items{@toBeMoved} = undef; @toBeMoved = sort {$a <=> $b} keys %items;
In Section
Seekers of Perl Wisdom