![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: splitting up a long text at regular intervalsby ioannis (Abbot) |
on Oct 31, 2005 at 00:40 UTC ( #504097=note: print w/replies, xml ) | Need Help?? |
Since preserving paragraphs is more important than exact
linecount; this is about what you want: keep reading paragraphs,
until they exceed a predefined number of lines.
In Section
Seekers of Perl Wisdom
|
|