in reply to Re: Unique filehandle -- what is correct?
in thread Unique filehandle -- what is correct?
If you want to follow this way (I would recommend File::Temp like Perlbotics did), I would say you about using timestamp inside the name of temp file, for example:
TEMPFILE.20111211133200.rand()Or even using microseconds precission
But, definitively use File::Temp ;-)
Regards,
|
|---|