Test2::Formatter(3p) Perl Programmers Reference Guide Test2::Formatter(3p)
Test2::Formatter(3p) Perl Programmers Reference Guide Test2::Formatter(3p) # Test2::Formatter(3p) Perl Programmers Reference Guide Test2::Formatter(3p) NNAAMMEE # Test2::Formatter - Namespace for formatters. DDEESSCCRRIIPPTTIIOONN # This is the namespace for formatters. This is an empty package. CCRREEAATTIINNGG FFOORRMMAATTTTEERRSS # A formatter is any package or object with a "write($event, $num)" method. package Test2::Formatter::Foo; use strict; use warnings; sub write { my $self_or_class = shift; my ($event, $assert_num) = @_; ... } sub hide_buffered { 1 } sub terminate { } sub finalize { } sub supports_tables { return $BOOL } sub new_root { my $class = shift; . ...