in reply to removing duplicated elements from array, with a difference
$count{$_}++ for @array; @new_array = grep {$count{$_} < 2} @array;
-- Mike
--
just,my${.02}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: removing duplicated elements from array, with a difference
by Anonymous Monk on Aug 28, 2002 at 18:28 UTC | |
by sauoq (Abbot) on Aug 28, 2002 at 19:03 UTC |