That works for me. What is the value of $Text::Wrap::huge? If set to 'wrap', Text::Wrap will break a long word up at the column limit. Do you have an old version? 'wrap' is the default in mine.
If that looks ok, you might try setting $Text::Wrap::columns to one or two less than the screen width. The target may not treat "\n" as zero width.
After Compline,
Zaxo
In reply to Re: Text::Wrap and Long words
by Zaxo
in thread Text::Wrap and Long words
by gohaku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |