http://qs1969.pair.com?node_id=61632


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:
sort keys %{ { map { $_ => 1 } @orig_list }

p