There's more than one way to do things | |
PerlMonks |
To flock or lock??by martymart (Deacon) |
on Feb 27, 2003 at 12:25 UTC ( [id://239076]=perlquestion: print w/replies, xml ) | Need Help?? |
martymart has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks Its a real newbie question, but here goes... I want to edit raw xml files from a form text area. Opening the valid file, and saving are not a problem. Its for an intranet with very limited users, so I am not so much concerned with security issues. However, I am concerned with the same file being opened by multiple users. Can anyone explain to me why I should (or not) use the flock function. Or would using the get_lock/unlock functions (with a sacrifice file) be the preferred practice ? Many Thanks, Martymart.
Back to
Seekers of Perl Wisdom
|
|