Help for this page

Select Code to Download


  1. or download this
    
    ## in file Foo.pm:
    ...
    ## ==== OUTPUT ==== ##
    #I'm the constructor for Foo2
    #I'm the constructor for Foo2
    
  2. or download this
    package Foo;
    use strict;
    ...
    1;
    ## Now, it works as it should be. Of course with also other 
    ## overloaded methods like _newFoo('$','HASH'),_newFoo2('$','$')