Help for this page

Select Code to Download


  1. or download this
    sub AUTOLOAD {
        my $self = shift;
    ...
            $self->$AUTOLOAD(@_);
        }
    }
    
  2. or download this
    my $obj_multi = MulitiObject->new( $obj_1, $obj_2 );
    $obj_multi->foo($x, $y);          # $obj_1->foo($x, $y);  $obj_2->foo(
    +$x, $y);
    
  3. or download this
    sub new {
        my $class = shift;
        return bless [ @_ ], $class;
    }