in reply to Re: File lock demo
in thread File lock demo
Hi Dave
I finally found the 45 min to watch the video. :)
I've actually been at this conference, pity I missed your talk.
I just wanted to add for the records that unfortunately your advise that
"you can unlink an open filehandle"
is not universally true. :/
This fails on Win:
> perl print my $file="random".rand(1000); open my $fh,">",$file or die $!; unlink ($file) or die $! __END__ Permission denied at - line 1. random741.284161646949
The same code runs without issues on linux
Thanks again! :)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: File lock demo
by davido (Cardinal) on Apr 24, 2021 at 17:27 UTC | |
by LanX (Saint) on Apr 24, 2021 at 17:38 UTC | |
Re^3: File lock demo
by eyepopslikeamosquito (Archbishop) on Apr 24, 2021 at 22:06 UTC | |
by LanX (Saint) on Apr 24, 2021 at 23:45 UTC |
In Section
Meditations