Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
[marto]: I can relate to that somewhat, I'm a light sleeper and frequently get woken up by kids doing much the same as your cats
[jedikaiti]: Yea, the kids (& the cats) are good at that
talexb is having a hard time with Windows losing DNS info for Perlmonks when voting. CB works fine. Ugh.
[jedikaiti]: how odd

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2017-07-25 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (374 votes). Check out past polls.