Don't ask to ask, just ask | |
PerlMonks |
Re: Wrap eats newlinesby arden (Curate) |
on Jun 18, 2004 at 16:05 UTC ( [id://367979]=note: print w/replies, xml ) | Need Help?? |
eznoh, not to be mean, but RTFM! From the description of Text::Wrap, "It will destory any whitespace in the original text." That includes the extra newline character. Now, if you use Text::Wrap::wrap() individually on each paragraph, you can then add the extra newline yourself.
- - arden.
In Section
Seekers of Perl Wisdom
|
|