in reply to Re: Problems reading records from file
in thread Problems reading records from file

Hi
Thanks a lot for your suggestion? It works fine according to my requirment. But this block is not executed at the end .
unless(@array){ print "There is no item remaining in the file"; last; }
It does not print "There is no item remaining in the file" at the end.