Help for this page

Select Code to Download


  1. or download this
       sub new {
          my $proto = shift;
          my $class = ref($proto) || $proto;
    ...
          # do other stuff here for the child object...
          return $self;
       }
    
  2. or download this
       sub reset {
          my $self = shift;
          my $class = ref($self) || $self;
    ...
          
          return $self;
       }