in reply to Re: spliting a table into individual columns
in thread spliting a table into individual columns
Your code makes THREE attempts at opening the file. The first attempt probably succeeds, but your code does not bother to verify that. The second attempt probably fails, giving you the error message. Please see the sample code for the "open" function.
If the first attempt succeeds then the second attempt will close the filehandle before it opens the filehandle again and then the same will happen for third attempt.
if the first attempt fails then the second and third attempts will also fail.
|
|---|