| 1 |
Text::Wrapper version 1.05, released January 18, 2014 |
| 2 |
|
| 3 |
|
| 4 |
This module provides simple word wrapping. It breaks long lines, |
| 5 |
but does not alter spacing or remove existing line breaks. If |
| 6 |
you're looking for more sophisticated text formatting, try the |
| 7 |
Text::Format module. |
| 8 |
|
| 9 |
Reasons to use Text::Wrapper instead of Text::Format: |
| 10 |
|
| 11 |
* Text::Wrapper is significantly smaller. |
| 12 |
|
| 13 |
* It does not alter existing whitespace or combine short lines. |
| 14 |
It only breaks long lines. By design, Text::Format removes |
| 15 |
all whitespace and then adds whitespace where it thinks |
| 16 |
appropriate. |
| 17 |
|
| 18 |
In short, Text::Wrapper is the object-oriented equivalent of |
| 19 |
Text::Wrap, but with fewer bugs (I hope). |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
INSTALLATION |
| 24 |
|
| 25 |
To install this module, run the following commands: |
| 26 |
|
| 27 |
perl Makefile.PL |
| 28 |
make |
| 29 |
make test |
| 30 |
make install |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
DEPENDENCIES |
| 35 |
|
| 36 |
Package Minimum Version |
| 37 |
------- --------------- |
| 38 |
perl 5.8.0 |
| 39 |
Carp |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
CHANGES |
| 44 |
Here's what's new in version 1.05 of Text::Wrapper: |
| 45 |
(See the file "Changes" for the full revision history.) |
| 46 |
|
| 47 |
- no functional changes |
| 48 |
- additional tests showing all possible breakpoints |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
COPYRIGHT AND LICENSE |
| 53 |
|
| 54 |
This software is copyright (c) 2014 by Christopher J. Madsen. |
| 55 |
|
| 56 |
This is free software; you can redistribute it and/or modify it under |
| 57 |
the same terms as the Perl 5 programming language system itself. |