in reply to Re: How do i determine which mode the file has open ? (write or append mode)
in thread How do i determine which mode the file has open ? (write or append mode)
Actually I can think of quite a few use cases for this: in an abstract sense you aren't always the person who opened the file in the first place such as when you are passing a filehandle to a subroutine or method, particularly if the subroutine or method is written by a third party. I'm actually going to have some code that does this in the next release of Term::ReadKey to catch some 'bugs' that seem to crop up on windows.
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How do i determine which mode the file has open ? (write or append mode)
by blazar (Canon) on Apr 21, 2006 at 12:15 UTC |