There's more than one way to do things | |
PerlMonks |
Re: flock on Ubuntu 9.10by trwww (Priest) |
on Nov 13, 2009 at 23:35 UTC ( [id://807080]=note: print w/replies, xml ) | Need Help?? |
I was under impression that flock would prevent this app from running multiple instances. Apologies for the terseness, but I can't imagine for the life of me how the code you've posted could correspond to your impression in any way. How would locking a file prevent the current process from running? Have a look at File::Pid::Quick. regards,
In Section
Seekers of Perl Wisdom
|
|