DOKK / manpages / debian 12 / libtext-asciitable-perl / Text::ASCIITable::Wrap.3pm.en
Text::ASCIITable::Wrap(3pm) User Contributed Perl Documentation Text::ASCIITable::Wrap(3pm)

Text::ASCIITable::Wrap - Wrap text

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

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

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.

Exporter, Carp

HXkon NessjXen, lunatic@cpan.org

Current version is 0.2.

Copyright 2002-2003 by HXkon NessjXen. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Text::ASCIITable, Text::Wrap

2022-10-13 perl v5.34.0