Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Code Maintainability

by mpeever (Friar)
on Dec 03, 2008 at 22:24 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-18 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found