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