Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with determining EOF w/readline? 1

Status
Not open for further replies.

BobMCT

IS-IT--Management
Joined
Sep 11, 2000
Messages
756
Location
US
I am trying to read two files using readline(filehandle) and match on a common key.
My problem is that I am not properly detecting EOF on the files. Accord to pod the readline on end of file returns a null string (i.e.: $_ eq "")

I can find no other technique. Can someone please enlighten me as to the proper technique?

In the meantime I will keep searching.

Thanks
 
Thank you Feherke;

I totally overlooked that function. Sometimes the brain works in strange ways.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top