Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: boolean chaining - && and 'and'

by kyle (Abbot)
on Jul 29, 2009 at 14:40 UTC ( #784249=note: print w/ replies, xml ) Need Help??

in reply to boolean chaining - && and 'and'

In risk_eval, you spelled it "age_22", but in _build_risk_type, it's spelled "age22". That means that when you get around to testing the condition, $E{age22} is undef (false). I discovered this by using the debugger.

As an aside, having variables named $E and %E in the same place is somewhat confusing.

Comment on Re: boolean chaining - && and 'and'
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-04 18:27 GMT
Find Nodes?
    Voting Booth?

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

    Results (60 votes), past polls