Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Proper use of flock

by Aristotle (Chancellor)
on Oct 30, 2002 at 00:38 UTC ( #208932=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Fcntl qw(:flock);
  2. or download this
    flock FH, LOCK_SH or die "Failed acquiring shared lock on $filename: $!";
  3. or download this
    flock FH, LOCK_EX or die "Failed acquiring ex. lock on $filename: $!";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2023-02-05 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?