I never said that the method I posted was easier to maintain;
I only stated that it was significantly more efficient.
If fast reading of large files (that you can't
fit into memory all at once) is you concern; then the block/hand-split
method is better. Also; the code I used for the
"block and manual split" approach is not by own; but lifted
from an earlier perlmonks discussion.