You use a hash for holding your elements to check against and use the values
within the array as a key to know whether it is a hit or not. If unsure on
how data coming in, then make sure you use a lc or uc against your data and
the data coming in, unless CAP is different from cap.
Wags ;) ps fol
P.S. Using hashes will eliminate duplicate entries from both lists. My
assumption in suggesting this was that that wasn't a problem, but it is
something that should be made explicit.
Cheers,
Jeff
At 03:24 PM 6/8/01 -0700, Jeff Yoak wrote:
>Code to do what you are looking for is inserted in
Code to do what you are looking for is inserted into the loop below, with
comments at the end.
At 10:02 PM 6/8/01 +, scott lutz wrote:
>I have a question that to me seems like it would be part of the foundation
>of Perl.
>
>@possible_matches = qw( list of items to match against );
>
>
>@l