Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 surveying the Monastery: (4)
As of 2024-06-19 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.