in reply to OT (Perhaps) File Locking
By all means lock them. I'd recommend perldoc -f sysopen and Fcntl as starting points. Your system's man(2) docs will help clarify the details from Fcntl.
After Compline,Zaxo