TEST2::UTIL::TABLE::LINEBREAK(3pm)

πŸ’… NAME πŸ’…

Test2::Util::Table::LineBreak β€” Break up lines for use in tables.

Okay so this page is from the Perl Programmers Reference Guide, and the star of the show is Test2::Util::Table::LineBreak. It does exactly what the name says, no cap: it breaks up lines for tables. πŸŽ€

✨ DESCRIPTION ✨

This one is meant for internal use, bestie. It’s giving β€œbackstage crew, not main character energy.” πŸ’…

This package takes long lines of text and splits them so that they fit in table rows. That’s the whole vibe check. 🌸

πŸŽ€ SYNOPSIS πŸŽ€

The flow is literally right here:

use Test2::Util::Table::LineBreak;

my $lb = Test2::Util::Table::LineBreak->new(string => $STRING);

$lb->break($SIZE);
while (my $part = $lb->next) {
    ...
}

πŸ”₯ SOURCE πŸ”₯

The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. Go check it out, bestie. 🫢

🌸 MAINTAINERS 🌸

Chad Granum <exodist@cpan.org> β€” iconic maintainer behavior, fr fr. πŸ‘‘

πŸ¦‹ AUTHORS πŸ¦‹

Chad Granum <exodist@cpan.org> β€” yes, same legend, and yes, we love that for us. πŸ’–

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/


πŸ’– Bye bestie! perl v5.42.3, 2026-11-03, Test2::...ineBreak(3pm) β€” mwah! πŸ’…

πŸ“¦ where this page comes from