Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: conditional statement works one way, but not the other

by moritz (Cardinal)
on May 18, 2014 at 15:18 UTC ( [id://1086517]=note: print w/replies, xml ) Need Help??


in reply to Re^2: conditional statement works one way, but not the other
in thread conditional statement works one way, but not the other (Updated)

If you feel the need to write condensed code to not obscure the structure of your code, you might be better served by giving parts of your program well-chosen names (in the form of subroutines or methods).

That way it's easier to understand the bigger picture, and you don't need to condense code, because each subroutine will be much smaller.

  • Comment on Re^3: conditional statement works one way, but not the other

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2025-06-17 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.