Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Poor randomness with File::Temp and fork().by Joost (Canon) |
on Jun 27, 2004 at 16:58 UTC ( [id://369998]=note: print w/replies, xml ) | Need Help?? |
Well, as a workaround i'd say something like this should work:
At least you won't have to modify File::Temp. Though I would expect File::Temp to do something similar for me, I'm not sure that it actually guarantees a unique filename for forked() siblings. Maybe you should file a bug report. (don't forget a working example demonstrating the bug)
In Section
Seekers of Perl Wisdom
|
|