1Test2::Util::Table::LinUesBerreaCko(n3t)ributed Perl DocTuemsetn2t:a:tUitoinl::Table::LineBreak(3)
2
3
4
6 Test2::Util::Table::LineBreak - Break up lines for use in tables.
7
9 This is meant for internal use. This package takes long lines of text
10 and splits them so that they fit in table rows.
11
13 use Test2::Util::Table::LineBreak;
14
15 my $lb = Test2::Util::Table::LineBreak->new(string => $STRING);
16
17 $lb->break($SIZE);
18 while (my $part = $lb->next) {
19 ...
20 }
21
23 The source code repository for Test2-Suite can be found at
24 https://github.com/Test-More/Test2-Suite/.
25
27 Chad Granum <exodist@cpan.org>
28
30 Chad Granum <exodist@cpan.org>
31
33 Copyright 2018 Chad Granum <exodist@cpan.org>.
34
35 This program is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
38 See http://dev.perl.org/licenses/
39
40
41
42perl v5.28.2 2019-05-18 Test2::Util::Table::LineBreak(3)