Re: testing for end-of-file

2004-08-04 Thread James Edward Gray II
On Aug 4, 2004, at 9:57 AM, james derry wrote: hi, all, the answer to my question in probably obvious to all but me, but i don't know how to test for end-of-file. basically, i want the conditional to test TRUE if $lineCounter eq $lineLength OR the end-of-file has been reached. i can't find how d

testing for end-of-file

2004-08-04 Thread james derry
hi, all, the answer to my question in probably obvious to all but me, but i don't know how to test for end-of-file. basically, i want the conditional to test TRUE if $lineCounter eq $lineLength OR the end-of-file has been reached. i can't find how do this in my learning perl or the perl faqs i'