logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Text::ASCIITable::Wrap - Wrap text

Author

       HXkon NessjXen, lunatic@cpan.org

Functions

wrap($text,$width[,$nostrict])(exportable)
       Wraps text at the specified width. Unless the $nostrict parameter is set, it will cut down the word if a
       word is wider than $width. Also supports text with linebreaks.

Name

       Text::ASCIITable::Wrap - Wrap text

Requires

       Exporter, Carp

See Also

       Text::ASCIITable, Text::Wrap

perl v5.36.0                                       2022-10-13                        Text::ASCIITable::Wrap(3pm)

Short Description

       Make sure a text never gets wider than the specified width using wordwrap.

Synopsis

         use Text::ASCIITable::Wrap qw{ wrap };
         print wrap('This is a long line which will be cut down to several lines',10);

Version

       Current version is 0.2.

See Also