Help for this page

Select Code to Download


  1. or download this
    package Foo;
    sub new { # A noop constructor
    ...
      # List of @args is always the same
      return join(', ', @args). "\n";
    }
    
  2. or download this
    my $f = Foo->new();
    print $f->frobnicate('my','args');
    ...
    print Foo::frobnicate('my','args');
    # or even
    print Foo->frobnicate('my','args');