in reply to Re^2: Unique filenames with Time::HiRes
in thread Unique filenames with Time::HiRes

Why not do a gettimeofday(), test to see if the file name exists, if it does then loop for a few ms, then rinse and repeat until the gettimeofday is unique?


-Waswas
  • Comment on Re^3: Unique filenames with Time::HiRes