TAP::Base - Base class that provides common functionality to TAP::Parser and TAP::Harness
Version 2.99_02
package TAP::Whatever; use TAP::Base; use vars qw($VERSION @ISA); @ISA = qw(TAP::Base); # ... later ... my $thing = TAP::Whatever->new(); $thing->callback( event => sub { # do something interesting } );
TAP::Base provides callback management.
TAP::Base
new
callback
Install a callback for a named event.
To install Test::Harness, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Harness
CPAN shell
perl -MCPAN -e shell install Test::Harness
For more information on module installation, please visit the detailed CPAN module installation guide.