Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I've got a string of undertermined length,
which will contain text with embedded newlines.
I'd like to split this string into chunks of no
more than 140 characters (but splitting on a word
boundry, so as to not cut words apart).
Ideally, I'd like to be left with an array
containing the split strings.
Back to
Seekers of Perl Wisdom