Test::S...neBreak(3)

πŸ“¦
version 1.302027 Β· 2 versions
, in fedora 43

πŸ’– 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 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