Keep It Simple, Stupid | |
PerlMonks |
Re: matching an array of alternatesby perlmonkey (Hermit) |
on Jun 24, 2000 at 02:27 UTC ( [id://19679]=note: print w/replies, xml ) | Need Help?? |
This should do the trick:
@lines will hold all the lines of the file 'input.txt' that match any of the phrases in @latin_am
In Section
Seekers of Perl Wisdom
|
|