Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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
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 perusing the Monastery: (16)
As of 2015-07-29 14:04 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 (263 votes), past polls