Scroll to navigation

TAP::Harness::Env(3pm) User Contributed Perl Documentation TAP::Harness::Env(3pm)
 

NAME

TAP::Harness::Env - Parsing harness related environmental variables where appropriate

VERSION

Version 3.33

SYNOPSIS

 my $harness = TAP::Harness::Env->create(\%extra_args)

DESCRIPTION

This module implements the environmental variables that Test::Harness for use with TAP::Harness, and instantiates it with the appropriate arguments.
HARNESS_PERL_SWITCHES
HARNESS_VERBOSE
HARNESS_SUBCLASS
HARNESS_OPTIONS
HARNESS_TIMER
HARNESS_COLOR
HARNESS_IGNORE_EXIT

METHODS

create( \%args )
This function reads the environment and generates an appropriate argument hash from it. If given any arguments in %extra_args, these will override the environmental defaults. In accepts "harness_class" (which defaults to "TAP::Harness"), and any argument the harness class accepts.
2014-08-16 perl v5.20.0