in reply to splitting up a long text at regular intervals
I had a question like this, where I wanted to read from a file in chunks, not specified by number of lines but by number of bytes, but still, you might find it interesting.
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
In Section
Seekers of Perl Wisdom