Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Comparing string to array elementsby R56 (Sexton) |
on Jan 13, 2017 at 15:03 UTC ( [id://1179514]=note: print w/replies, xml ) | Need Help?? |
Ok, I was overlooking something. I was comparing a whole set of free text to an array of terms, no wonder why it didn't return anything. Can the solution be splitting that free text into an array, and then comparing that to the terms I already have, printing the matches?
How would I compare if each term in @adv matches one on @terms, and then print it if it exists?
In Section
Seekers of Perl Wisdom
|
|