in reply to Removing duplicate array elements
@test = grep { $X{$_}} map { defined $X{$_} or ($X{$_} += 1),$_ } @test;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing duplicate array elements
by jdporter (Paladin) on Feb 16, 2003 at 21:07 UTC | |
by tachyon (Chancellor) on Feb 16, 2003 at 23:44 UTC | |
by jdporter (Paladin) on Feb 17, 2003 at 03:09 UTC | |
by tachyon (Chancellor) on Feb 17, 2003 at 03:32 UTC | |
|
Re: Re: how to remove
by kumar (Initiate) on Feb 17, 2003 at 16:32 UTC |