my @list1; my @list2; my %t; @t{@list2} = (); for ( @list1 ) { print "$_ found" if exists $t{$_}; }
In reply to Re: comparing a string with lots of other strings
by borisz
in thread comparing a string with lots of other strings
by matthewsnape
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |