Curtis "Ovid" Poe > TAPx-Parser-0.50_07 > TAPx::Base

Download:
TAPx-Parser-0.50_07.tar.gz

Dependencies

Annotate this POD

Module Version: 0.50_07   Source  

NAME ^

TAPx::Base - Base class that provides common functionality to TAPx::Parser and TAPx::Harness

VERSION ^

Version 0.50_07

SYNOPSIS ^

    package TAPx::Whatever;

    use TAPx::Base;
    
    use vars qw($VERSION @ISA);
    @ISA = qw(TAPx::Base);

    # ... later ...
    
    my $thing = TAPx::Whatever->new();
    
    $thing->callback( event => sub {
        # do something interesting
    } );

DESCRIPTION ^

TAPx::Base provides callback management.

METHODS ^

Class methods

new

callback

Install a callback for a named event.

syntax highlighting: