TEST2::EVENT::DIAG(3pm)

πŸ¦‹ NAME πŸ¦‹

Hiii bestie 🫢 this is the Test2::Event::Diag(3pm) page from the Perl Programmers Reference Guide, and it's literally all about the Diag event type.

😭 DESCRIPTION 😭

Diagnostics messages, typically rendered to STDERR. That's the whole vibe: little messages doing their diagnostic thing. πŸ’¬

✨ SYNOPSIS ✨

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. One accessor, zero drama, we love to see it. πŸ’Œ

πŸ”₯ SOURCE πŸ”₯

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>.

πŸ‘‘ 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.

See <https://dev.perl.org/licenses/>.


okay bye bestie 🫢 this page rode in with perl v5.42.3, dated 2026-11-03, and it's the Test2::Event::Diag(3pm) manual page. mwah πŸŽ€

πŸ“¦ where this page comes from