There's more than one way to do things | |
PerlMonks |
Re^3: regex testing for multiple valuesby proceng (Scribe) |
on Mar 10, 2008 at 18:24 UTC ( [id://673299]=note: print w/replies, xml ) | Need Help?? |
if ($Session->{'usrSystem'}=~/{IND|NOR|PRO|ARM|SND/s) I don't understand why its not executing the code block, all I get is a syntax error mismatched right bracket for now I wrote as a series of if statements its ugly but it works.See bolded areas.
In Section
Seekers of Perl Wisdom
|
|