Notice if there are duplicates, this will whack all of them.That's easily solved:
my $i = 0; @allcompanies = grep {$_ ne $co or $i++} @allcompanies;
In reply to Re^2: splice help - deleting specific element
by JavaFan
in thread splice help - deleting specific element
by kathys39
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |