XP is just a number | |
PerlMonks |
Re: One Liner Regex Questionby fruiture (Curate) |
on May 11, 2003 at 12:11 UTC ( [id://257225]=note: print w/replies, xml ) | Need Help?? |
m/._(FOO|BAR)$/ ? 'true' : 'false'
See perlre, this shouldn't be too hard --http://fruiture.de
In Section
Seekers of Perl Wisdom
|
|