Don't ask to ask, just ask | |
PerlMonks |
Re^2: Reading files n lines a timeby DrWhy (Chaplain) |
on Dec 06, 2012 at 19:25 UTC ( [id://1007634]=note: print w/replies, xml ) | Need Help?? |
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..."
In Section
Seekers of Perl Wisdom
|
|