file-temp: File::Temp (Perl Temporary File Tool) file-temp: file-temp: File::Temp can be used to create and open temporary files in a safe file-temp: way. There is both a function interface and an object-oriented file-temp: interface. The File::Temp constructor or the tempfile() function can file-temp: be used to return the name and the open filehandle of a temporary file-temp: file. The tempdir() function can be used to create a temporary file-temp: directory. file-temp: file-temp: file-temp: