in reply to Re: Detecting duplicate entries
in thread Detecting duplicate entries
And probably even slower, but it avoids the %temp and it's cute:
p
sort keys %{ { map { $_ => 1 } @orig_list }
p
In Section
Seekers of Perl Wisdom