Hello everyone. Let's say I have a user provide @list of words and I want to match each words against a file or a another @list of words and increase a counter every time a word in the given list appears in what I'm matching against, what might a possible solution look like for that? The only thing I could think of is a nasty mess of a ton of for loops restarted until you get to the end of the user provided list which may end up being very slow depending on the size of the list. What if I wanted to also use regular expressions?

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to