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,
In reply to Re^2: Unique filehandle -- what is correct?
by i5513
in thread Unique filehandle -- what is correct?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |