At this node mutual exclusion and file locking on windows some monks assert that flock works well on Windows. When I test using Win95 and AS Build 621:
C:\>type flock.pl use Fcntl qw(:DEFAULT); print "This is $^O\n"; open FILE, ">>test.txt" or die "Oops $!\n"; flock FILE, LOCK_EX or die "Can't flock $!\n"; close FILE; C:\>perl flock.pl This is MSWin32 flock() unimplemented on this platform at flock.pl line 6. C:\>
Can anyone direct me to a list of which versions of Windows flock works on and which versions it does not? Does anyone care? Sadly I must, ref My Life
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Flock 'n Windows by tachyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |