TEST2::V1::HANDLE(3perl)

πŸ“¦ version 5.44.0, in arch rolling

πŸ’– 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 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