The stupid question is the question not asked | |
PerlMonks |
Re: Adding a bit of security to Cache::FileCacheby ehdonhon (Curate) |
on Aug 09, 2002 at 14:11 UTC ( [id://188914]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|