yitzle wrote:
> I got a CGI script that is being used by multiple users.
> It reads/writes data to a database (text file).
> When it reads, it reads the entire file, and when it writes, it
> tuncrates and rewrites the entire file.
> Can/will this screw up the file if two people try to write to the file
> at the same time?
> How do I prevent problems? (SQL/MySQL is not an option)

perldoc -q "\block"



John
-- 
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order.       -- Larry Wall

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to