1Text::ASCIITable::Wrap(U3s)er Contributed Perl DocumentatTieoxnt::ASCIITable::Wrap(3)
2
3
4
6 Text::ASCIITable::Wrap - Wrap text
7
9 Make sure a text never gets wider than the specified width using
10 wordwrap.
11
13 use Text::ASCIITable::Wrap qw{ wrap };
14 print wrap('This is a long line which will be cut down to several lines',10);
15
17 wrap($text,$width[,$nostrict]) (exportable)
18 Wraps text at the specified width. Unless the $nostrict parameter is
19 set, it will cut down the word if a word is wider than $width. Also
20 supports text with linebreaks.
21
23 Exporter, Carp
24
26 Haakon Nessjoen, lunatic@cpan.org
27
29 Current version is 0.2.
30
32 Copyright 2002-2003 by Haakon Nessjoen. All rights reserved. This
33 module is free software; you can redistribute it and/or modify it under
34 the same terms as Perl itself.
35
37 Text::ASCIITable, Text::Wrap
38
39
40
41perl v5.34.0 2022-01-21 Text::ASCIITable::Wrap(3)