in reply to Re: how to sort uniq $array[2]
in thread how to sort uniq $array[2]

Thanks Corion -but i already did,that is why i'm here solution

my @sorted = map { $_->[0] } sort { $a->[1] cmp $b->[1] } map { [ $_, uc( (/\d+\s*(\S+)/)[0]) ] } @sort;
not working for me

Replies are listed 'Best First'.
Re^3: how to sort uniq $array[2]
by Corion (Patriarch) on Jun 06, 2011 at 13:24 UTC

    You didn't post this code when you asked your question.

    Please tell us how the code you have now fails to work for you, and what output you expect instead.

    I don't see, for example, where your current code would remove duplicates.