Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: file locking problem!

by RatArsed (Monk)
on Jun 29, 2001 at 18:22 UTC ( #92629=note: print w/replies, xml ) Need Help??


in reply to file locking problem!

Take a look at flock maybe?

--
RatArsed

Replies are listed 'Best First'.
Re: Re: file locking problem!
by kiseok7 (Beadle) on Jun 29, 2001 at 18:27 UTC
    thanks:) I know flock but my OS is windows :(
      Still works; at least under ActiveState's distribution (for me, at least)

      --
      RatArsed

        One difference to be aware of is that flock() under Win32 is not advisory like it is most other places. That is, you can't get an exclusive flock() for a file that any other process currently has open, for example.

                - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://92629]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2023-06-07 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (29 votes). Check out past polls.

    Notices?