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

Re^2: Style or Clarity?

by exussum0 (Vicar)
on Jun 09, 2004 at 19:17 UTC ( #362847=note: print w/replies, xml ) Need Help??


in reply to Re: Style or Clarity?
in thread Style or Clarity?

Another trick if you must must must have the if statements, is to replace the conditional with a subroutine. i.e (assuming F stands for failed)...
if(failed($status)) { .... } else if(!responseNotFailed($status)) { } else { }

Bart: God, Schmod. I want my monkey-man.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2020-10-29 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (274 votes). Check out past polls.

    Notices?