in reply to Reading a CSV file

Perhaps if you checked the return value from your open call before blindly trying to read from the filehandle in question you might obtain some enlightenment . . .

The cake is a lie.
The cake is a lie.
The cake is a lie.