Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

file lock error

by dbs (Sexton)
on Apr 06, 2011 at 19:29 UTC ( #897866=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use FileHandle;
    usr Fcntl;
    ...
    
    flock($RLOG, O_NONBLOCK) || warn "no NB lock $!";
    flock($MLOG, O_NONBLOCK) || warn "no NB lock $!";
    
  2. or download this
    if ( scalar @_ == 1 ) {
            my $roll1 = @_;
    ...
            );
            $rollog1->rotate();
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://897866]
Approved by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2021-06-17 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (86 votes). Check out past polls.

    Notices?