Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Never lock $0 inside of a BEGIN block

by particle (Vicar)
on May 21, 2003 at 19:46 UTC ( [id://259852]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ## ensure only one instance is running
    INIT { flock DATA => LOCK_EX | LOCK_NB or exit 1 }
    ...
    ## ...script...
    
    __DATA__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found