Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: logical non-short-circuit operators

by RMGir (Prior)
on Nov 02, 2011 at 18:37 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://935466]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-25 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found