File-Temp module for perl - return name and handle of a temporary file safely

Edit Package perl-File-Temp
http://search.cpan.org/perldoc?File::Temp

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.

Refresh
Refresh
Source Files
Filename Size Changed
File-Temp-0.2302.tar.gz 0000059476 58.1 KB
perl-File-Temp.changes 0000002520 2.46 KB
perl-File-Temp.spec 0000003299 3.22 KB
Revision 10 (latest revision is 26)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 10)
- updated to 0.2302
        * Drop minimum Perl version back to 5.6 (erroneously bumped by dzil)
        * Do not inherit from Exporter (requires Exporter 5.57) (thanks to
          Olivier Mengué)
        * 'use base ...' => 'use parent ...' as parent is lighter (thanks to
          Olivier Mengué)
        * dist.ini: Managed with Dist::Zilla now; generates Makefile.PL
          to avoid circular dependency when using Build.PL
        * Build.PL: Use Module::Build
 
        * Temp.pm: internally holds absolute path for cleanup (Fixes RT #44924)
 
        * t/rmtree.t: (new) Test temp dir removal explicitly.
 
        * t/tempfile.t: Correctly tests directory removal from chdir.
 
        * Temp.pm: Clean up temp directory on exit even if it is the
        current directory. Patch supplied by Ed Avis and fixes RT #45246.
 
        * Temp.pm: Defer unlinking tempfiles if initial unlink fails
        instad of croaking; fixes problems on NFS (RT #82720)
 
        * Temp.pm: Allow leading template to new() for consistency with
        newdir()
 
        * Temp.pm: Calling tempfile or tempdir as a class method now
        produce a more useful fatal error message
 
        * Temp.pm: new/newdir/tempfile/tempdir now all allow either
        a leading template argument or a TEMPLATE option
Comments 0
openSUSE Build Service is sponsored by