perl-File-Temp - Return name and handle of a temporary file safely

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-File-Temp
Package version 0.2304
Package release 7.1
Package architecture noarch
Package type rpm
Installed size 156.89 KB
Download size 55.77 KB
Official Mirror
'File::Temp' can be used to create and open temporary files in a safe way.
There is both a function interface and an object-oriented interface. The
File::Temp constructor or the tempfile() function can be used to return the
name and the open filehandle of a temporary file. The tempdir() function
can be used to create a temporary directory.
The security aspect of temporary file creation is emphasized such that a
filehandle and filename are returned together. This helps guarantee that a
race condition can not occur where the temporary file is created by another
process between checking for the existence of the file and its opening.
Additional security levels are provided to check, for example, that the
sticky bit is set on world writable directories. See the "safe_level"
manpage for more information.
For compatibility with popular C library functions, Perl implementations of
the mkstemp() family of functions are provided. These are, mkstemp(),
mkstemps(), mkdtemp() and mktemp().
Additionally, implementations of the standard POSIX tmpnam() and tmpfile()
functions are provided if required.
Implementations of mktemp(), tmpnam(), and tempnam() are provided, but
should be used with caution since they return only a filename that was
valid when function was called, so cannot guarantee that the file will not
exist by the time the caller opens the filename.
Filehandles returned by these functions support the seekable methods.


Package Version Architecture Repository
perl-File-Temp - - -


Name Value
perl(:MODULE_COMPAT_5.18.2) -
perl(File::Path) >= 2.06
perl(parent) >= 0.221
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Name Value
perl(File::Temp) = 0.2304
perl(File::Temp::Dir) -
perl-File-Temp = 0.2304-7.1


Type URL
Binary Package perl-File-Temp-0.2304-7.1.noarch.rpm
Source Package perl-File-Temp-0.2304-7.1.src.rpm

Install Howto

Install perl-File-Temp rpm package:

# zypper install perl-File-Temp

See Also

Package Description
perl-File-Touch-0.11-1.1.noarch.rpm Update File Access and Modification Times, Optionally Creating Files If Needed
perl-File-Type-0.22-166.1.x86_64.rpm determine file type using magic
perl-File-Which-1.21-1.2.noarch.rpm Perl implementation of the which utility as an API
perl-File-chdir-0.1010-4.1.noarch.rpm More Sensible Way to Change Directories
perl-File-pushd-1.009-4.1.noarch.rpm change directory temporarily for a limited scope
perl-FileHandle-Unget-0.1628-4.1.noarch.rpm FileHandle which supports multi-byte unget
perl-Filesys-Df-0.92-19.2.x86_64.rpm Perl extension for filesystem disk space information
perl-Filesys-Notify-Simple-0.12-6.1.noarch.rpm Simple and dumb file system watcher
perl-Finance-Quote-1.37-1.1.noarch.rpm Get stock and mutual fund quotes from various exchanges
perl-FindBin-Real-1.05-17.1.noarch.rpm Locate directory of original perl script
perl-Font-AFM-1.20-53.1.x86_64.rpm Interface to Adobe Font Metrics Files
perl-Font-FreeType-0.07-1.2.x86_64.rpm Read Font Files and Render Glyphs From Perl Using Freetype2
perl-Font-TTF-1.05-4.1.noarch.rpm Perl module for TrueType Font hacking
perl-FreezeThaw-0.5001-22.1.x86_64.rpm Converting Perl structures to strings and back
perl-Future-0.33-2.1.noarch.rpm Represent an Operation Awaiting Completion