in reply to Re^2: 80 characters long
in thread 80 characters long
That's what wrapping means.
...Although Text::Wrap will only break on a word boundary. Did you want to break at colomn 80 unconditionally, even if it's in the middle of a word?
$text =~ s/(.{80})(?!$)/$1\n/gm;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: 80 characters long
by aixmike (Novice) on Sep 27, 2007 at 19:13 UTC | |
by ikegami (Patriarch) on Sep 27, 2007 at 19:34 UTC | |
by aixmike (Novice) on Sep 27, 2007 at 19:54 UTC | |
by ikegami (Patriarch) on Sep 27, 2007 at 19:58 UTC | |
| |
by GrandFather (Saint) on Sep 27, 2007 at 20:08 UTC |