{
    "mode": "perldoc",
    "parameter": "TAP::Harness::Env",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/TAP%3A%3AHarness%3A%3AEnv/json",
    "generated": "2026-06-10T18:55:49Z",
    "synopsis": "my $harness = TAP::Harness::Env->create(\\%extraargs)",
    "sections": {
        "NAME": {
            "content": "TAP::Harness::Env - Parsing harness related environmental variables where appropriate\n",
            "subsections": []
        },
        "VERSION": {
            "content": "Version 3.43\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "my $harness = TAP::Harness::Env->create(\\%extraargs)\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This module implements the environmental variables that Test::Harness uses with TAP::Harness,\nand instantiates the appropriate class with the appropriate arguments.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "*   create( \\%args )\n\nThis function reads the environment and generates an appropriate argument hash from it. If\ngiven any arguments in %extraargs, these will override the environmental defaults. In\naccepts \"harnessclass\" (which defaults to \"TAP::Harness\"), and any argument the harness\nclass accepts.\n",
            "subsections": []
        },
        "ENVIRONMENTAL VARIABLES": {
            "content": "\"HARNESSPERLSWITCHES\"\nSetting this adds perl command line switches to each test file run.\n\nFor example, \"HARNESSPERLSWITCHES=-T\" will turn on taint mode.\n\"HARNESSPERLSWITCHES=-MDevel::Cover\" will run \"Devel::Cover\" for each test.\n\n\"HARNESSVERBOSE\"\nIf true, \"TAP::Harness\" will output the verbose results of running its tests.\n\n\"HARNESSSUBCLASS\"\nSpecifies a TAP::Harness subclass to be used in place of TAP::Harness.\n\n\"HARNESSOPTIONS\"\nProvide additional options to the harness. Currently supported options are:\n\n\"j<n>\"\nRun <n> (default 9) parallel jobs.\n\n\"c\" Try to color output. See \"new\" in TAP::Formatter::Base.\n\n\"a<file.tgz>\"\nWill use TAP::Harness::Archive as the harness class, and save the TAP to \"file.tgz\"\n\n\"fPackage-With-Dashes\"\nSet the formatterclass of the harness being run. Since the \"HARNESSOPTIONS\" is\nseperated by \":\", we use \"-\" instead.\n\nMultiple options may be separated by colons:\n\nHARNESSOPTIONS=j9:c make test\n\n\"HARNESSTIMER\"\nSetting this to true will make the harness display the number of milliseconds each test\ntook. You can also use prove's \"--timer\" switch.\n\n\"HARNESSCOLOR\"\nAttempt to produce color output.\n\n\"HARNESSIGNOREEXIT\"\nIf set to a true value instruct \"TAP::Parser\" to ignore exit and wait status from test\nscripts.\n",
            "subsections": []
        }
    },
    "summary": "TAP::Harness::Env - Parsing harness related environmental variables where appropriate",
    "flags": [],
    "examples": [],
    "see_also": []
}