Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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

by benizi (Hermit)
on Dec 20, 2006 at 00:21 UTC ( #590826=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    create table foolock (
     /* since we're exclusive per-program, make program primary */
     client varchar(255) not null,
     time timestamp
  2. or download this
    use strict;
    use warnings;
    } else {
        # take appropriate action

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://590826]
[choroba]: Any Monks online that can check what went wrong?
[Copacetic]: Sorry, I've just discovered that it gives a useful error message if I select "preview" (as well as removing the "create" button for some reason). It was that my title wasn't long enough. Thanks for your help.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-05-26 15:09 GMT
Find Nodes?
    Voting Booth?