in reply to Re^2: Help Explain Behavior
in thread Help Explain Behavior
When Perl loads the script, it retains an open filehandle to the source. The filesystem won't allow the file to be deleted until all open filehandles are closed.
So until the script ends, the source file is in a "marked for deletion" state.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help Explain Behavior
by Joe_ (Beadle) on Aug 19, 2012 at 19:32 UTC |