Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Code Maintainability

by mpeever (Friar)
on Dec 03, 2008 at 22:24 UTC ( #727817=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Something something = new Something();
    something.setField1(value1);
    something.setField2(value2);
    something.setField3(value3);
    something.doSomething();
    
  2. or download this
    Something something = new Something(value1, value2, value3);
    something.doSomething();
    
  3. or download this
    # We need to ensure that the widget press is fully  
    # stopped before we disconnect the syrup tanks, because
    # the nozzles can leak syrup for at least 30 seconds 
    # after the hoses are disconnected.
    
  4. or download this
    if ($DEBUG) { print STDERR "Debug: some value"; }
    
  5. or download this
    print STDERR "Debug: some value" if $DEBUG;
    
  6. or download this
    foreach my $line (@lines) {
      print STDERR "$line\n;"
    }
    
  7. or download this
    print STDERR join("\n", @lines), "\n";
    
  8. or download this
    print STDERR Dumper \@lines;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://727817]
Approved by kyle
Front-paged by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-10-20 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (76 votes), past polls