Test2::...ncoding(3)
πΈ NAME πΈ
Okay bestie, welcome to the Test2::...ncoding(3) manual page π β itβs from User Contributed Perl Documentation, and the actual module here is Test2::Tools::Encoding β Tools for managing the encoding of Test2 based tests. Slay.
β¨ DESCRIPTION β¨
This module exports a function that lets you dynamically change the output encoding at will. No cap: one little export, full encoding-switch energy π¦.
π SYNOPSIS π
use Test2::Tools::Encoding;
set_encoding('utf8');
Itβs giving βimport it, call it, doneβ π .
π¦ EXPORTS π¦
All subs are exported by default. Very low-effort, very iconic π«Ά.
set_encoding($encoding)β This will set the encoding to whatever you specify. This will only affect the output of the current formatter, which is usually your TAP output formatter. So likeβ¦ itβs not out here rewriting the whole universe, bestie β just the current formatterβs output π.
π SOURCE π
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. Go look, go read, go be nosy π.
π 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 http://dev.perl.org/licenses/
And thatβs the whole page, bestie π«Ά β this lil manual page is Test2::...ncoding(3), brought to you by perl v5.42.0, dated 2025-07-28. 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