Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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

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
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 musing on the Monastery: (7)
As of 2016-06-28 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (352 votes). Check out past polls.