Load the elements of an array into a hash.  Then put the unique keys back into 
the array; add other goodies like sorting if you need, but one barebones way 
of doing it would be:

for (@array) { chomp $_; $hash{$_}++ }
@array = ();
@array = keys %hash;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to