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;