Help for this page

Select Code to Download


  1. or download this
    sub DESTROY {
        my $self = shift;
        ... do class specific stuff ...
        $self->SUPER::DESTROY if $self->can("SUPER::DESTROY");
    }
    
  2. or download this
    sub DESTROY {
        my $self = shift;
    ...
            $self->$destroy if $self->can($destroy);
        }
    }