Archive::Zip::tempName( [$tmpdir] ) Create a unique name for a temp file, in the given directory or in the first one of: /tmp $ENV{TMPDIR} $ENV{TEMP} . Archive::Zip::tempFile( [$tmpdir] ) Create a uniquely named temp file. It will be returned open for read/write. If $tmpdir is given, it is used as the name of a directory to create the file in. If not given, creates the file in the first directory found in this list: /tmp $ENV{TMPDIR} $ENV{TEMP}