The "kind of array" you are looking for is called a hash:
my %unique; while( <>) { chomp; $unique{$_}=1; } print join "\n", keys %unique;
In reply to Re: Storing unique values
by mirod
in thread Storing unique values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |