Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    warn "setter:", $x->foo(666);
    warn "getter:", $x->foo;
    warn "error:",  $x->foo(42,666);
    
  2. or download this
    -*- mode: compilation; default-directory: "d:/tmp/pm/" -*-
    Compilation started at Fri Jan  8 21:39:32
    ...
    Too many arguments for method 'BLA->foo(42,666)' at d:/tmp/pm/missing_
    +param.pl line 34.
    
    Compilation exited abnormally with code 255 at Fri Jan  8 21:39:33