Text::ASCIITable::Wrap(3pm)

Text::ASCIITable::Wrap3pm

Wrap text

Usage

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

Short description

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

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.

Requires

Exporter, Carp

Version

Current version is 0.2.

Releases

10 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0–5.0
  2. 6.0
  3. 7–8
  4. 9–11
  5. 12–13

Author

HXkon NessjXen, [email protected]

From libtext-asciitable-perl 0.22-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.