Test2::...ncoding(3)

πŸ“¦ version 1.302214, in opensuse-leap 16.0

🌸 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 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