Test2::...ncoding(3)
πΈ NAME πΈ
Test2::Event::Encoding β Set the encoding for the output stream
Okay so this is the Test2::...ncoding(3) page from the User Contributed Perl Documentation, and yes bestie, the module weβre actually talking about is Test2::Event::Encoding. π
β¨ DESCRIPTION β¨
The encoding event is generated when a test file wants to specify the encoding to be used when formatting its output.
Itβs giving βformatter classes produce me, and then I get used for interpreting test names, message contents, etc.β π
π SYNOPSIS π
use Test2::API qw/context/;
use Test2::Event::Encoding;
my $ctx = context();
my $event = $ctx->send_event('Encoding', encoding => 'UTF-8');
π METHODS π
Inherits from Test2::Event. Also defines:
π $encoding = $e->encoding π
The encoding being specified. Thatβs the whole vibe. β¨
π¦ 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 π
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/ π
mwah π this iconic little page was brought to you by perl v5.42.0, dated 2025-07-28, and the Test2::...ncoding(3) footer. periodt. πβ¨
π¦ 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