Use mkdtemp() to create the temp dir instead of using a predictable name.
It is safer to use mkdtemp() from File::Temp rather than a predictable directory name based on the process ID. This avoids a potential /tmp file race condition.
It is safer to use mkdtemp() from File::Temp rather than a predictable directory name based on the process ID. This avoids a potential /tmp file race condition.