http://qs1969.pair.com?node_id=661497


in reply to Proper use of And

You have two main problems. One is your if is missing an opening paren:
if ( ( $Session... ) and ( ... ) ) { # ^ this one is missing
Also, your regex is apparently using / for alternation. You probably meant something like:
($Session->{ usrSystem } =~ /SEF|VAL|.../ )
Phil
The Gantry Web Framework Book is now available.