in reply to Re^4: using lexically scoped variable as a filehandle
in thread using lexically scoped variable as a filehandle
If a close fails, I surely want to die, as this is an unrecoverable error.
Absolutely not!
I could just warn, but then? what next?
It obviously depends upon what else your program is doing, but a few ideas:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: using lexically scoped variable as a filehandle
by misterwhipple (Monk) on Feb 21, 2007 at 21:21 UTC | |
by BrowserUk (Patriarch) on Feb 21, 2007 at 22:28 UTC | |
|
Re^6: using lexically scoped variable as a filehandle
by shmem (Chancellor) on Feb 21, 2007 at 18:27 UTC |