GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TAP::BASE (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

Version 3.36

SYNOPSIS



    package TAP::Whatever;

    use base TAP::Base;

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



DESCRIPTION

TAP::Base provides callback management.

METHODS

    Class Methods

callback

Install a callback for a named event.

get_time

Return the current time using Time::HiRes if available.

time_is_hires

Return true if the time returned by get_time is high resolution (i.e. if Time::HiRes is available).

get_times

Return array reference of the four-element list of CPU seconds, as with times in perlfunc.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TAP::BASE (3) 2015-12-30

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.