![]() |
![]()
| ![]() |
![]()
NAMEText::NWrap - a simple text wrapping module SYNOPSISuse Text::NWrap; $NWrap::columns = 132; NWrap::wrap(' ','',@text); DESCRIPTIONText::NWrap is a simple interface to Text::Format. If you want more functionality just use Text::Format. Text::NWrap is meant to replace Text::Wrap. Its interface is basically identical to Text::Wrap's. However, nothing is exported by default and it does not call die under any circumstance.
EXAMPLEuse Text::NWrap; print NWrap::wrap('','',"hello world this is some silly example", "and some more text that should explain the use"); use Text::NWrap qw(wrap $columns); $columns = 20; wrap("\t",'',"some text that should be wrapped"); AUTHORGabor Egressy gabor@vmunix.com Copyright (c) 1998 Gabor Egressy. All rights reserved. All wrongs reversed. This program is free software; you can redistribute and/or modify it under the same terms as Perl itself.
|