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.
In reply to Re: Adding a bit of security to Cache::FileCache
by ehdonhon
in thread Adding a bit of security to Cache::FileCache
by Nitrox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |