http://www.perlmonks.org?node_id=1007572


in reply to Reading files n lines a time

see Re: Split string after 14 Line Feeds? for a generic solution. :)

Cheers Rolf

Replies are listed 'Best First'.
Re^2: Reading files n lines a time
by naturalsciences (Beadle) on Dec 06, 2012 at 14:03 UTC
    Ahh that seems nice and general. A bit more refined method than using fourteen $nextlines would be :D