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

Please explain further.

Replies are listed 'Best First'.
Re^7: print() on closed filehandle
by fglock (Vicar) on Dec 14, 2004 at 17:14 UTC

    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.