Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Ensuring only one copy of a perl script is running at a time

by eyepopslikeamosquito (Chancellor)
on Dec 19, 2006 at 07:49 UTC ( #590619=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    __DATA__
    This exists so flock() code above works.
    DO NOT REMOVE THIS DATA SECTION.
    
  2. or download this
    use strict;
    use warnings;
    ...
    print "end of program\n";
    # Note: lock should be automatically released at end of program,
    # no matter how the process is terminated.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://590619]
Approved by chargrill
Front-paged by andyford
help
Chatterbox?
stevieb is writing a little CUFP on how to control analog pins on an arduino from a Linux machine via I2C in light of Perl, JavaScript and Strandbeests. It also is a good real-world use-case to test my I2C dist.
[stevieb]: I just don't feel like going hardcore on anything today, so I thought I'd *use* my software instead of just write it

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-21 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (336 votes). Check out past polls.