Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Preventing multiple instances

by davido (Cardinal)
on Dec 17, 2020 at 21:29 UTC ( #11125368=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open SELF "< $0" or die ...;
    flock SELF, LOCK_EX | LOCK_NB or exit;
    
  2. or download this
    flock DATA, LOCK_EX | LOCK_NB or exit;
    ...
    __DATA__
    
  3. or download this
    #!/usr/bin/env perl
    
    ...
    # Other use statements...
    
    # code...
    
  4. or download this
    #!/usr/bin/env perl
    
    ...
    
    # Do not remove double-underscore DATA tag. It is required for highlan
    +der process assertion.
    __DATA__
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2021-04-22 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?