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.
In reply to Re^3: Help Explain Behavior
by BrowserUk
in thread Help Explain Behavior
by Joe_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |