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;
In reply to Re^3: 80 characters long
by ikegami
in thread 80 characters long
by aixmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |