Help for this page

Select Code to Download


  1. or download this
    package Foo;
    
    use Method::Signatures;
    ...
    func hello($greeting, $place) {
        print "$greeting, $place!\n";
    }
    
  2. or download this
    perl -i.bak -pe"if(s/^(func|method)/#<<<\n$1/){ s/$/#>>>/ }"  temp.pl
    
  3. or download this
    7:    syntax error at ') {', didn't see one of: case elsif for foreach
    + given if switch unless until when while
    
  4. or download this
    --- Tidy.pm.orig    2009-06-16 13:00:50.000000000 -0700
    +++ Tidy.pm    2010-10-11 03:38:42.015625000 -0700
    ...
                             "syntax error at ') {', didn't see one of: $l
    +ist\n");
                     }