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
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