{
    "mode": "perldoc",
    "parameter": "Test2::EventFacet::Control",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Test2%3A%3AEventFacet%3A%3AControl/json",
    "generated": "2026-06-10T12:37:40Z",
    "sections": {
        "NAME": {
            "content": "Test2::EventFacet::Control - Facet for hub actions and behaviors.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This facet is used when the event needs to give instructions to the Test2 internals.\n",
            "subsections": []
        },
        "FIELDS": {
            "content": "$string = $control->{details}\n$string = $control->details()\nHuman readable explanation for the special behavior.\n\n$bool = $control->{global}\n$bool = $control->global()\nTrue if the event is global in nature and should be seen by all hubs.\n\n$exit = $control->{terminate}\n$exit = $control->terminate()\nDefined if the test should immediately exit, the value is the exit code and may be 0.\n\n$bool = $control->{halt}\n$bool = $control->halt()\nTrue if all testing should be halted immediately.\n\n$bool = $control->{hascallback}\n$bool = $control->hascallback()\nTrue if the \"callback($hub)\" method on the event should be called.\n\n$encoding = $control->{encoding}\n$encoding = $control->encoding()\nThis can be used to change the encoding from this event onward.\n\n$phase = $control->{phase}\n$phase = $control->phase()\nUsed to signal that a phase change has occurred. Currently only the perl END phase is\nsignaled.\n",
            "subsections": []
        },
        "SOURCE": {
            "content": "The source code repository for Test2 can be found at http://github.com/Test-More/test-more/.\n",
            "subsections": []
        },
        "MAINTAINERS": {
            "content": "Chad Granum <exodist@cpan.org>\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Chad Granum <exodist@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2020 Chad Granum <exodist@cpan.org>.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n\nSee http://dev.perl.org/licenses/\n",
            "subsections": []
        }
    },
    "summary": "Test2::EventFacet::Control - Facet for hub actions and behaviors.",
    "flags": [],
    "examples": [],
    "see_also": []
}