in reply to Poor randomness with File::Temp and fork().

The real guts of File::Temp can be seen here Re: Avoiding race condition with sysopen and this function should create valid handles in forked kids without issues. As this is 15 lines to File::Temp's 1800 it is easier to see what is going on.

As always YMMV.

cheers

tachyon

  • Comment on Re: Poor randomness with File::Temp and fork().