I am currently writing a perl script for a friend which is adding to, editing, and deleting from a flatfile database.  This database will be accessed only by another perl script, which uses the information to generate a web page (basically listing the information on each line of the database inside an HTML table, generating an HTML page with multiple tables, each with the information on a given line in the database, which is referenced by the date).
 
My question is this:  since the database will be accessed by the general public (read only), and by my friend thru a separate script (add/edit/delete records), do I need to use 'flock', and if so, could someone give me a generic example?
 
Thanks in advance,
Brian

Reply via email to