You need something like:
my %seen; for (@input) { $seen{$_}++ && warn "$_ already entered\n"; }
-- Joost downtime n. The period during which a system is error-free and immune from user input.
In reply to Re: huge problem!
by Joost
in thread Inserting sequences without duplicates
by husoft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |