Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: (tye)Re: Logical expression style

by Anonymous Monk
on Jul 12, 2002 at 17:52 UTC ( [id://181355]=note: print w/replies, xml ) Need Help??


in reply to (tye)Re: Logical expression style
in thread Logical expression style

Omigod! My eyes! I looked directly at the code!
if ( ( defined $settings && ! $settings->{hidecode} ) && ( $codetype{ $node->{nodetype} } ) || ( $node->{code} || containscode( $node->{doctext} ) ) ) {

A few extra parens makes it much more readable in my opinion.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found