![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: Temp file strategyby rvosa (Curate) |
on Sep 17, 2005 at 11:51 UTC ( [id://492850]=note: print w/replies, xml ) | Need Help?? |
Here's what I do: name your files after the value of time. This is (almost?) certain to give you unique names, and it's easy to search through the temp directory and sort by age - sweeping the old ones. Watch out for the corner case where two requests are made within a second. May need to lock the files?
In Section
Seekers of Perl Wisdom
|
|