in reply to Re: Fast Way to Return Unique Array of Array
in thread Fast Way to Return Unique Array of Array

Nice, just a slight style improvement:

map { $h{join($;, @$_)}++ == 0 ? $_ : () } @_;

becomes

grep { ! $h{join($;, @$_)}++ } @_;

Replies are listed 'Best First'.
Re^3: Fast Way to Return Unique Array of Array
by pseudomonas (Monk) on Sep 05, 2005 at 12:19 UTC
    Could one replace join($;, @$_) with Dumper($_) (or some variant thereof), to allow for multiple levels of data structure?