Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: logical non-short-circuit operators

by RMGir (Prior)
on Nov 02, 2011 at 18:37 UTC ( #935466=note: print w/ replies, xml ) Need Help??


in reply to Re: logical non-short-circuit operators
in thread logical non-short-circuit operators

++, looks good.

But I think you mean

if ($num || $type) { # (|| rather than &&) something(); }

Mike


Comment on Re^2: logical non-short-circuit operators
Download Code
Re^3: logical non-short-circuit operators
by moritz (Cardinal) on Nov 02, 2011 at 19:19 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-09-01 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls