TAP::Base(3p) Perl Programmers Reference Guide TAP::Base(3p)
TAP::Base(3p) Perl Programmers Reference Guide TAP::Base(3p) # TAP::Base(3p) Perl Programmers Reference Guide TAP::Base(3p) NNAAMMEE # TAP::Base - Base class that provides common functionality to TAP::Parser and TAP::Harness VVEERRSSIIOONN # Version 3.44 SSYYNNOOPPSSIISS # package TAP::Whatever; use base 'TAP::Base'; # ... later ... my $thing = TAP::Whatever->new(); $thing->callback( event => sub { # do something interesting } ); DDEESSCCRRIIPPTTIIOONN # "TAP::Base" provides callback management. MMEETTHHOODDSS # CCllaassss MMeetthhooddss _"_c_a_l_l_b_a_c_k_" Install a callback for a named event. ...