App::Y...ipt::V1(3pm)
π NAME π
App::Yath::Script::V1 β the V1 (Legacy) yath script handler for Test2::Harness, bestie. It's giving "vintage but still slaying."
β¨ DESCRIPTION β¨
Okay so picture this: this is the V1 script handler for Test2::Harness. It's the one App::Yath::Script reaches for when it finds a .yath.rc file that has no version marker (or an explicit # V1 marker), or when V1 just happens to be the highest installed version. Lowkey the default girlie when nobody says otherwise. π
Also? This module is holding all the logic that used to live directly inside the scripts/yath script of Test2::Harness. They moved it out, gave it its own little room, and honestly? Main character energy. π
πΈ METHODS πΈ
$class->do_begin(%params)
Called during the BEGIN phase. This is where the real work starts, no cap. It:
- parses configuration files π
- processes the
-Dand--no-scan-pluginsarguments - sets up
@INC - initializes App::Yath β¨
Parameters:
script => $pathβ path to the executing script. The who-am-I of it all. πͺargv => \@argvβ the original command line arguments, untouched, exactly as they came in. π«config => $pathβ path to the.yath.rcfile, orundefif there isn't one. πuser_config => $pathβ path to the.yath.user.rcfile, orundefif there isn't one. π«Ά
$exit = $class->do_runtime()
Called after BEGIN. It runs the yath command and then hands you back the exit code. That's it, that's the whole vibe check. Returns the exit code. π
π₯ SOURCE π₯
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/. Go look, it's iconic.
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
π AUTHORS π
Chad Granum <exodist@cpan.org>
π COPYRIGHT π
Copyright 2020 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/
okay bestie that's the whole page, you ate it up fr fr π
perl v5.40.1 Β· 2026-05-10 Β· App::Yath::Script::V1(3pm) β that's a wrap, stan legacy code π β¨
π¦ where this page comes from
- ubuntu stonking: libtest2-harness-perl 1.000172-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms