in reply to Poor randomness with File::Temp and fork().
At least you won't have to modify File::Temp.my tmp = new File::Temp( TEMPLATE => "temp".$$."XXXXX", DIR => '/tmp', SUFFIX => '.dat');
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)
|
|---|