Abhisek has asked for the wisdom of the Perl Monks concerning the following question:
%seen = (); @uniq = (); foreach $item (@proc_name1) { unless ($seen{$item}) { $seen{$item} = 1; push (@uniq, $item); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Locate Unique values
by GrandFather (Saint) on Feb 12, 2008 at 10:38 UTC | |
by Abhisek (Novice) on Feb 13, 2008 at 05:48 UTC | |
by GrandFather (Saint) on Feb 13, 2008 at 07:48 UTC | |
|
Re: Locate Unique values
by citromatik (Curate) on Feb 12, 2008 at 10:36 UTC | |
|
Re: Locate Unique values
by hipowls (Curate) on Feb 12, 2008 at 10:44 UTC |