Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: File Locking

by Anonymous Monk
on Apr 06, 2003 at 04:28 UTC ( #248395=note: print w/replies, xml ) Need Help??


in reply to File Locking

How I make to this function 'flock' works into activeperl on windows?

Replies are listed 'Best First'.
Re: Re: File Locking
by Anonymous Monk on Dec 01, 2003 at 10:28 UTC
    flock is available on windows, at least modern windows (NT, 2000,2003, XP). For older windows you'll have to use File::FlockDir
      The LOCK_NB mode in flock function available with Activeperl does not work rightly on either NT,2000 or XP.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://248395]
help
Chatterbox?
[sierpinski]: Corion I haven't -- but it sounds like you could corner the market on such a tool if you desired.
Discipulus if thezip is still around can be interested into How to hide/inhibit the console window when launching a Perl script on Windows?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2017-03-27 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (321 votes). Check out past polls.