Test::S...nt::Diag(3)
π Test::Stream::Event::Diag π
okay bestie, so this is the manual page for Test::Stream::Event::Diag β the User Contributed Perl Documentation version, no less. it's giving "diag event type" and honestly? iconic. let's get into it π«Ά
πΈ NAME πΈ
Test::Stream::Event::Diag β it's a Diag event type, that's the whole thing, periodt β¨
π DEPRECATED π
bestie. listen. this whole distribution is DEPRECATED. π not me having to break the news.
it's been retired in favor of Test2, Test2::Suite, and Test2::Workflow. like, the glow-up already happened, and it wasn't here.
if you're stuck on this and need to migrate, there's a conversion guide waiting for you in Test::Stream::Manual::ToTest2. go read it, i believe in you π
π¦ DESCRIPTION π¦
Diagnostics messages β and these ones are typically rendered to STDERR. yep. that's the vibe. little messages that go whisper themselves into your error stream. π
β¨ SYNOPSIS β¨
here's the moment you've been waiting for, the actual code, verbatim, don't touch it:
use Test::Stream::Context qw/context/;
use Test::Stream::Event::Diag;
my $ctx = context();
my $event = $ctx->diag($message);
see how easy that was? grab a context, call diag, boom β event acquired. main character energy fr fr π
π ACCESSORS π
$diag->messageβ this is the message for the diag. that's it. that's the accessor. the message. for the diag. slay.
π₯ SOURCE π₯
the source code repository for Test::Stream lives at http://github.com/Test-More/Test-Stream/. go peek, go lurk, go star it, whatever your heart says π
π MAINTAINERS π
Chad Granum <exodist@cpan.org> β carrying this whole thing on his back, no cap π«‘
π AUTHORS π
Chad Granum <exodist@cpan.org> β yes bestie, same name, he's both. the range. π
π COPYRIGHT π
Copyright 2015 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.
See http://dev.perl.org/licenses/
okay and that's the whole page!! π the footer said this was perl v5.42.0 and dated 2025-07-25, so likeβ¦ a lil vintage moment from July 2025, archived forever in the man pages. go forth and diag responsibly, bestie πΈβ¨π¦
π¦ where this page comes from
- fedora 43: perl-Test-Stream 1.302027-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms