Test2::Util::Table::LineBreak - Break up lines for use in tables.
Contents
Copyright
Copyright 2018 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/
perl v5.40.1 2025-07-03 Test2::Util::Table::LineBreak(3perl)
Description
This is meant for internal use. This package takes long lines of text and splits them so that they fit in
table rows.
Maintainers
Chad Granum <exodist@cpan.org>
Name
Test2::Util::Table::LineBreak - Break up lines for use in tables.
Source
The source code repository for Test2-Suite can be found at https://github.com/Test-More/Test2-Suite/.
Synopsis
use Test2::Util::Table::LineBreak;
my $lb = Test2::Util::Table::LineBreak->new(string => $STRING);
$lb->break($SIZE);
while (my $part = $lb->next) {
...
}
