summaryrefslogtreecommitdiff
path: root/lib/File/Copy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/File/Copy.pm')
-rw-r--r--lib/File/Copy.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm
index 47e6429771..b796451e37 100644
--- a/lib/File/Copy.pm
+++ b/lib/File/Copy.pm
@@ -16,13 +16,15 @@ use Config;
# And then we need these games to avoid loading overload, as that will
# confuse miniperl during the bootstrap of perl.
my $Scalar_Util_loaded = eval q{ require Scalar::Util; require overload; 1 };
+# We want HiRes stat and utime if available
+BEGIN { eval q{ use Time::HiRes qw( stat utime ) } };
our(@ISA, @EXPORT, @EXPORT_OK, $VERSION, $Too_Big, $Syscopy_is_copy);
sub copy;
sub syscopy;
sub cp;
sub mv;
-$VERSION = '2.32';
+$VERSION = '2.33';
require Exporter;
@ISA = qw(Exporter);