in reply to Re: Re: Infinte perl script
in thread Infinte perl script

I hope you are not trusting the file-system to be atomic, because it is not. If you are using lock-files, you should look at flock. I have a reasonably straight-forward example of how to use it at Simple Locking.