if ($Session->{'usrType'} eq 'Pro') and ($Session->{'usrSystem'}=~/SEF +/VAL/SUM/SAR/MRT/ALB/MRE/VER/RML/AUS/ORG/MSX/BAR/LAS/)){$Response->wr +ite('found a match!'}
this won't work whether I use and or && I am not sure why it seems everything I do is a syntax error.. are my parens out of whack? something is still wrong..
here is my revised version..
if (($Session->{'usrType'} eq 'Pro') and ($Session->{'usrSystem'}=~/SE +F|VAL|SUM|SAR|MRT|ALB|MRE|VER|RML|AUS|ORG|MSX|BAR|LAS/); { $Response->Write("found a match"); }
Edit: g0n - code tags
In reply to Proper use of And by grashoper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |