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

How you are reading the permissions? Reading FLAT_FILE requires less permissions than writing to OUTPUT_FILE.

Replies are listed 'Best First'.
Re^6: print() on closed filehandle
by Win (Acolyte) on Dec 14, 2004 at 17:08 UTC
    Please explain further.

      Win32 permissions can be quite complex. For example, you may have rights to add information to a file, but you may not be able to create a new file in the same directory. That's why the easier way to check for permissions is to verify whether open() succeeds of fails.