in reply to File Locking

I really like to thank the person or people who wrote this "File Locking" tutorial because the text has given me the reason for opening a file in read-write mode before calling flock function. Now I feel more confident to implement flock function in my scripts.