You are viewing the version of this documentation from Perl 5.12.4. View the latest version

CONTENTS

NAME

TAP::Object - Base class that provides common functionality to all TAP::* modules

VERSION

Version 3.17

SYNOPSIS

package TAP::Whatever;

use strict;
use vars qw(@ISA);

use TAP::Object;

@ISA = qw(TAP::Object);

# new() implementation by TAP::Object
sub _initialize {
    my ( $self, @args) = @_;
    # initialize your object
    return $self;
}

# ... later ...
my $obj = TAP::Whatever->new(@args);