Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Code Maintainability

by kyle (Abbot)
on Dec 03, 2008 at 23:01 UTC ( #727827=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    upchuck() if ! $healthy;
    
  2. or download this
    Exception::Of::Doom->throw( error => 'Detailed error messages are impo
    +rtant, especially when this error happens' ) if $oops;
    
  3. or download this
    upchuck() unless $healthy;  # doesn't sound right
    error() unless happiness_ensues();   # better?
    
  4. or download this
    if ( ! $healthy ) {
        upchuck();
        die;
    }
    
  5. or download this
    print STDERR join("\n", @lines), "\n";
    
  6. or download this
    print STDERR map { "$_\n" } @lines;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-07-26 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (177 votes), past polls