![]() |
![]()
| ![]() |
![]()
NAMEText::ASCIITable::Wrap - Wrap text SHORT DESCRIPTIONMake sure a text never gets wider than the specified width using wordwrap. SYNOPSISuse Text::ASCIITable::Wrap qw{ wrap }; print wrap('This is a long line which will be cut down to several lines',10); FUNCTIONSwrap($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. REQUIRESExporter, Carp AUTHORH�kon Nessj�en, lunatic@cpan.org VERSIONCurrent version is 0.2. COPYRIGHTCopyright 2002-2003 by H�kon Nessj�en. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOText::ASCIITable, Text::Wrap
|