in reply to Re^4: print() on closed filehandle
in thread print() on closed filehandle

If you're so sure the open worked, how come you can't print to the handle? What is the objection you have to adding an error check? As those to whom you came for help, we're telling you that you should check if open succeeded.

Replies are listed 'Best First'.
Re^6: print() on closed filehandle
by Win (Acolyte) on Dec 14, 2004 at 17:10 UTC
    I did check and it came back with the error message.
      So what was the error message? Did you figure out how to fix the problem?
        The error message was:
        Unable to open G:/Directory_path/Flat_file_test_C_out.txt: No such fil +e or directory