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
TAP::Base(3) User Contributed Perl Documentation TAP::Base(3)

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

Version 3.42

    package TAP::Whatever;

    use base 'TAP::Base';

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

"TAP::Base" provides callback management.

"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.

2018-03-19 perl v5.32.1

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

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