Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Proper use of And

by philcrow (Priest)
on Jan 09, 2008 at 20:43 UTC ( #661497=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://661497]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-02-25 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (314 votes). Check out past polls.

    Notices?