App::Y...ipt::V0(3pm)
β¨ App::Yath::Script::V0 β¨
okay bestie, so this is <pink>App::Yath::Script::V0</pink> β the Test/validation version of the yath script handler π
(it's a User Contributed Perl Documentation page, iykyk). Basically it's the fake-yah, practice-mode yath. Let's get into it π«Ά
π NAME π
App::Yath::Script::V0 β the test/validation version of the yath script handler. Not the real one, the β¨auditionβ¨ one.
π DESCRIPTION π
So here's the vibe: this is the V0 script handler, and it is not here to run your real tests. No no no. Its whole entire job is validating the yath script itself π β like a mirror, but for your script handler. It's giving dress rehearsal energy.
What it does is so simple it's kind of iconic: it echoes non-option arguments, and it prefixes each one depending on when it got processed:
- if it got handled in the BEGIN phase, it gets the prefix
BEGIN:π« - if it got handled in the RUNTIME phase, it gets the prefix
RUNTIME:π¦
That's it. That's the whole personality. Literally just echoing your args back at you with a little nametag on them. Obsessed, honestly. ππ
β¨ OPTIONS β¨
--beginARG β adds an argument that gets processed (aka echoed) during the BEGIN phase πΈ. And yes, bestie, you can drop this one multiple times β stack 'em up, one--beginper arg, go off π
π EXAMPLE π
here's the moment you've been waiting for, no cap:
$ yath --begin hello --begin world foo bar
BEGIN: hello
BEGIN: world
RUNTIME: foo
RUNTIME: bar
see how hello and world got the BEGIN: glow-up while foo and bar showed up fashionably late to RUNTIME:? that's the whole bit π
β¨
π¦ SOURCE π¦
the source code repository for Test2-Harness is living its best life over at <http://github.com/Test-More/Test2-Harness/> β go say hi, the vibes are immaculate π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>β the main character maintaining all of this π«Ά
π AUTHORS π
- Chad Granum
<exodist@cpan.org>β yeah, same icon, carrying the whole team on their back fr fr
πΈ COPYRIGHT πΈ
Copyright 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 β so go wild (responsibly) π
See <http://dev.perl.org/licenses/>
okay that's the whole page, bestie, and the β¨official receiptsβ¨ at the bottom say this is perl v5.40.1 and it's dated 2026-05-10. slay, go validate that script, mwah ππ
π¦ where this page comes from
- ubuntu stonking: libapp-yath-script-perl 2.000016-2 Β· 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