Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 romping around the Monastery: (7)
As of 2024-04-19 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found