http://qs321.pair.com?node_id=305328


in reply to Unique Array Items

How about this way:

my %items; @items{@toBeMoved} = undef; @toBeMoved = sort {$a <=> $b} keys %items;
Update: Guess I didn't read the other replies close enough. This is just a rewording of sauoq's reply above.

kelan


Perl6 Grammar Student