use Text::Wrap qw(wrap 140 'wrap'); @strings = split/\n\n/, wrap($text);
In reply to Re: How can I split a line
close to a certain length, but on a word boundary?
by chromatic
in thread How can I split a line on word boundaries closest to a certain length?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |