in reply to Re^2: Generate a unique ID
in thread Generate a unique ID

The application requires temporary spill files that need to have unique names

Is there a reason why you can't use File::Temp?