for my $test (@test) { push (@redundant, $test) unless grep { $test eq $_ } @redundant; }
Zenon Zabinski | zdog | zdog7@hotmail.com
In reply to (zdog) Re: Finding Redundant values in arrays
by zdog
in thread Finding Redundant values in arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |