There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Everyone explained very well what happens with signals and END blocks. Now that that's cleared up...
If the record file is not accessed or seen by any other process, you can unlink it after it's been openned, and the file handle will stay valid. The kernel will clean up the disk space it uses when the last file descriptor open on it is closed, which will happen whether you close it explicitly, die a clean death, or get shot down by some violent signal.
-nuffin zz zZ Z Z #!perl In reply to Re: Signals and END block
by nothingmuch
|
|