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 word‐
10 wrap.
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
19 Wraps text at the specified width. Unless the $nostrict parameter is
20 set, it will cut down the word if a word is wider than $width. Also
21 supports text with linebreaks.
22
24 Exporter, Carp
25
27 Håkon Nessjøen, lunatic@cpan.org
28
30 Current version is 0.2.
31
33 Copyright 2002-2003 by Håkon Nessjøen. All rights reserved. This mod‐
34 ule is free software; you can redistribute it and/or modify it under
35 the same terms as Perl itself.
36
38 Text::ASCIITable, Text::Wrap
39
40
41
42perl v5.8.8 2006-12-18 Text::ASCIITable::Wrap(3)