Test::S...neBreak(3)
π NAME π
okay so bestie, welcome to Test::Stream::Table::LineBreak β it's the lil helper that breaks up long lines so they can chill inside table rows. that's the whole job. that's the vibe. β¨
(it lives in the User Contributed Perl Documentation section, section 3, iykyk π«Ά)
π DEPRECATED π
ngl this one's giving retired, bestie. this whole distribution is deprecated in favor of:
- Test2
- Test2::Suite
- Test2::Workflow
if you need the glow-up guide, go read Test::Stream::Manual::ToTest2 β it's literally the conversion manual. no cap. π
π¦ DESCRIPTION π¦
okay so real talk: this is meant for internal use. not a main character module, it's a backstage crew member. π
what it does: it takes long lines of text and splits them so they fit inside table rows. that's it. that's the whole personality. she's a splitter. π
β¨ SYNOPSIS β¨
here's the whole flow, copy it exactly bestie:
use Test::Stream::Table::LineBreak;
my $lb = Test::Stream::Table::LineBreak->new(string => $STRING);
$lb->break($SIZE);
while (my $part = $lb->next) {
...
}
so you make one with your $STRING, you tell it the $SIZE with break, and then you just keep calling next in a loop and eating up each $part until there's none left. iconic loop behaviour honestly π₯
π SOURCE π
the source code repo for Test::Stream lives right here, bestie:
http://github.com/Test-More/Test-Stream/
go. lurk. it's giving open source. π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
π COPYRIGHT π
Copyright 2015 Chad Granum <exodist7@gmail.com>.
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/
okay that's the whole page bestie!! π«Ά this was perl v5.42.0, dated 2025-07-25, and it's the Test::S...neBreak(3) page β slay, stay deprecated, drink water, and go use Test2 instead πβ¨πΈ
π¦ where this page comes from
- fedora 43: perl-Test-Stream 1.302027-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms