Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 browsing the Monastery: (12)
As of 2014-09-16 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (45 votes), past polls