in reply to Having repeated intances become one in Array
Check 'perldoc -q duplicate'my @array = qw( foo bar match zoot zoot match match match ); @array = grep { ! $hash{$_}++} @array;
--
There are 10 kinds of people -- those that understand binary, and those that don't.
|
|---|