Test::S...nt::Diag(3)

πŸ“¦
version 1.302027 Β· 2 versions
, in fedora 43

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