in reply to Adding a bit of security to Cache::FileCache
Well, if you are worried about intentional collisions, then you should use umask.
If you are worried about accidental collisions ( i.e. somebody running the same script by accident) then it sounds like you need to implement locking. You could take a look at Proc::Pid_File.
|
|---|