Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: One line assigment statement with regex matchby ketema (Scribe) |
on Jun 22, 2005 at 21:48 UTC ( [id://469215]=note: print w/replies, xml ) | Need Help?? |
I have an array of literal strings, words. as I read through a file i want to check the current line against my array of terms. if there is a match I want to assign that match to a varaible. I was wondering if I could do that in one statement.
In Section
Seekers of Perl Wisdom
|
|