Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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.


Comment on Re: Proper use of And
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://661497]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (18)
As of 2015-07-06 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls