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

Replies are listed 'Best First'.
Re: Re: Re: Detecting duplicate entries
by japhy (Canon) on Mar 01, 2001 at 23:50 UTC
      Ok, but it keeps up with sort -u above.

      p