Test2::Event::Diag(3)
π NAME π
okay so bestie, this is Test2::Event::Diag(3), straight out of the User Contributed Perl Documentation, and it is literally the Diag event type. no cap β¨
πΈ DESCRIPTION πΈ
Diagnostics messages, typically rendered to STDERR. that's the whole vibe, and honestly? iconic. π¬
β¨ SYNOPSIS β¨
here's the group-chat screenshot of how you use it:
use Test2::API qw/context/;
use Test2::Event::Diag;
my $ctx = context();
my $event = $ctx->diag($message);
π ACCESSORS π
$diag->messageβ the message for the diag. that's it, that's the accessor. π
π¦ SOURCE π¦
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. go peek, bestie π
π 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.
See <https://dev.perl.org/licenses/>.
π cute sign-off: this page is from perl v5.42.0, dated 2025-07-28. slay, you read the whole thing β¨π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-Simple 1.302214-bp160.1.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms