Hello everyone!
I have written a perl script which opens a file for reading and writing.
I tested what happens if the script is run in multiple instances by the
webserver. I put a sleep command between seeking writing position in
the file and actual writing. I filled the web form in two differen
On Wednesday April 25 2007 6:14 am, Varjü Tamás wrote:
> Hello everyone!
>
> I have written a perl script which opens a file for reading and writing.
> I tested what happens if the script is run in multiple instances by the
> webserver. I put a sleep command between seeking writing position in
> t
Dear Greg!
The reason I did the test, and why I detailed the result is that I could
not reproduce any of the nasty things which can happen without locking.
I know that everyone suggests to use the lock, but following your
argument the test should have had a different outcome.
Any idea how to impr
On Wednesday April 25 2007 8:42 am, Varjü Tamás wrote:
> Dear Greg!
>
> The reason I did the test, and why I detailed the result is that I could
> not reproduce any of the nasty things which can happen without locking.
> I know that everyone suggests to use the lock, but following your
> argument t