in reply to Re: One line assigment statement with regex match
in thread One line assigment statement with regex match
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