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've looked through.
if ($lineCounter == $lineLength || EOF){do something;}
thanks, james
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>