Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Reading files n lines a time

by DrWhy (Chaplain)
on Dec 06, 2012 at 19:25 UTC ( #1007634=note: print w/replies, xml ) Need Help??


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 (Bishop) on Dec 06, 2012 at 22:38 UTC
    Probably yes. I indicated that deeper in a reply.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007634]
help
Chatterbox?
[LanX]: so the mayor of London should be better named First Minister of the London region and is on a comparable level like Nicola Sturgeon
[LanX]: ?

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-12-15 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (440 votes). Check out past polls.

    Notices?