TEST2::V1::HANDLE(3perl)
π Test2::V1::Handle π
okay bestie, quick vibe check: this is the Test2::V1::Handle page from the Perl Programmers Reference Guide, section 3perl. it's short, it's sweet, it's giving tiny but mighty β¨
πΈ NAME πΈ
Test2::V1::Handle β it's the V1 subclass of Test2::Handle. that's the whole name, no notes. π
π¦ DESCRIPTION π¦
so. Test2::V1::Handle is the V1 subclass of the Test2::Handle object. no cap. π«Ά
and here's the part that matters for you, bestie: this is the thing you actually interact with when you use the T2() function in a test. like, when you're writing tests and you call T2() and start throwing assertions at it? that's this. main character energy fr fr π
β¨ SYNOPSIS β¨
look at her go, she's gorgeous:
use Test2::V1::Handle;
my $t2 = Test2::V1::Handle->new();
$t2->ok(1, "Passing test");
literally that's it. make a handle, call ok, pass a test. ate. π₯
π SUBCLASS OVERRIDES π
the default base class that gets used is Test2::V1::Base. that's the one. iykyk π
π SEE ALSO π
if you want the full tea, go read Test2::Handle β that's where the more information lives. go, run, be free π¦
π SOURCE π
the source code repo for Test2-Suite is right here, bestie:
https://github.com/Test-More/test-more/
go star it, go read it, go be obsessed π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
β COPYRIGHT β
Copyright Chad Granum <exodist@cpan.org>.
this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
also go peek at: http://dev.perl.org/licenses/ π
quick reminder before you go: this whole page is served up by perl v5.44.0, dated 2026-10-17, and it's the Test2::...::Handle(3perl) page. thanks for coming to my ted talk, mwah ππΈβ¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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