summaryrefslogtreecommitdiff
path: root/cpan/File-Temp
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-10-11 08:38:30 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2013-10-11 08:38:30 +0100
commit3d5f905f4872cf6bc3c5088afefb21f32f368e74 (patch)
tree83006f4b0d789d20e718f4d00896ae9048e24614 /cpan/File-Temp
parent10c526cf4d5abb4571626c912262d0cf43b2e7e5 (diff)
downloadperl-3d5f905f4872cf6bc3c5088afefb21f32f368e74.tar.gz
Upgrade File::Temp from version 0.2303 to 0.2304
Diffstat (limited to 'cpan/File-Temp')
-rw-r--r--cpan/File-Temp/lib/File/Temp.pm17
1 files changed, 9 insertions, 8 deletions
diff --git a/cpan/File-Temp/lib/File/Temp.pm b/cpan/File-Temp/lib/File/Temp.pm
index 4b61e270cf..817c6d90c6 100644
--- a/cpan/File-Temp/lib/File/Temp.pm
+++ b/cpan/File-Temp/lib/File/Temp.pm
@@ -1,16 +1,17 @@
package File::Temp;
# ABSTRACT: return name and handle of a temporary file safely
-our $VERSION = '0.2302'; # VERSION
+our $VERSION = '0.2304'; # VERSION
-# 5.6.0 gives us S_IWOTH, S_IWGRP, our and auto-vivifying filehandles
-# People would like a version on 5.004 so give them what they want :-)
-use 5.004;
+# Toolchain targets v5.8.1, but we'll try to support back to v5.6 anyway.
+# It might be possible to make this v5.5, but many v5.6isms are creeping
+# into the code and tests.
+use 5.006;
use strict;
use Carp;
use File::Spec 0.8;
use Cwd ();
-use File::Path qw/ rmtree /;
+use File::Path 2.06 qw/ rmtree /;
use Fcntl 1.03;
use IO::Seekable; # For SEEK_*
use Errno;
@@ -28,7 +29,7 @@ eval { require Carp::Heavy; };
require Symbol if $] < 5.006;
### For the OO interface
-use parent qw/ IO::Handle IO::Seekable /;
+use parent 0.221 qw/ IO::Handle IO::Seekable /;
use overload '""' => "STRINGIFY", '0+' => "NUMIFY",
fallback => 1;
@@ -40,7 +41,7 @@ $KEEP_ALL = 0;
# We are exporting functions
-use Exporter 'import'; # Requires 5.57+
+use Exporter 5.57 'import'; # 5.57 lets us import 'import'
# Export list - to allow fine tuning of export table
@@ -1632,7 +1633,7 @@ File::Temp - return name and handle of a temporary file safely
=head1 VERSION
-version 0.2302
+version 0.2304
=head1 SYNOPSIS