in reply to Re: Reading files n lines a time
in thread Reading files n lines a time

Don't you need to check for defined rather than true for the first element of your array in the while loop?

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."

Replies are listed 'Best First'.
Re^3: Reading files n lines a time
by choroba (Cardinal) on Dec 06, 2012 at 22:38 UTC
    Probably yes. I indicated that deeper in a reply.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ