in reply to Re^4: Deleting or unlinking a file
in thread Deleting or unlinking a file
Didn't mean to write a tutorial on software update - the main point is that "unlink" does something different than "delete". And that it is definitely possible to "unlink" a file that is currently in use because the "human text name" is not how the file system deals with the file, if the file is "open" and being accessed via the file handle. The actual "deletion" occurs when the file is no longer in use.
Of course in the scheme that I described, there are significant complications in the implementation of how a potentially very long lived process gets notified of this update and how it should go about dealing with it. This whole "update" scenario can become very complicated. However, I am confident that Perl unlink can make things happen that the Windows command line would not allow.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Deleting or unlinking a file
by Anonymous Monk on Mar 16, 2011 at 01:38 UTC | |
by Marshall (Canon) on Mar 16, 2011 at 03:41 UTC |