Test2-Formatter-Tap

Test2::Formatter::TAP(3p) Perl Programmers Reference Guide

Test2-Formatter-Tap

Test2::Formatter::TAP(3p) Perl Programmers Reference Guide # Test2::Formatter::TAP(3p) Perl Programmers Reference Guide NNAAMMEE # Test2::Formatter::TAP - Standard TAP formatter DDEESSCCRRIIPPTTIIOONN # This is what takes events and turns them into TAP. SSYYNNOOPPSSIISS # use Test2::Formatter::TAP; my $tap = Test2::Formatter::TAP->new(); # Switch to utf8 $tap->encoding('utf8'); $tap->write($event, $number); # Output an event MMEETTHHOODDSS # $bool = $tap->no_numbers $tap->set_no_numbers($bool) Use to turn numbers on and off. $arrayref = $tap->handles $tap->set_handles(\@handles); Can be used to get/set the filehandles. ...