summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-05-08 16:12:36 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-05-08 16:12:36 +0000
commit9c76cba290de0f80b575f0b17c7ddd148628709d (patch)
tree78e621d90ea4a4b59c49ae42baa43bbcd5bdaafb /lib/File
parent81ec4fbc8320b72171c9fbea0fa0456b3a687f92 (diff)
downloadperl-9c76cba290de0f80b575f0b17c7ddd148628709d.tar.gz
Bump version and document last change.
p4raw-id: //depot/perl@33795
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/Copy.pm10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm
index 046f4a82fd..01daad55fe 100644
--- a/lib/File/Copy.pm
+++ b/lib/File/Copy.pm
@@ -19,12 +19,7 @@ sub syscopy;
sub cp;
sub mv;
-# Note that this module implements only *part* of the API defined by
-# the File/Copy.pm module of the File-Tools-2.0 package. However, that
-# package has not yet been updated to work with Perl 5.004, and so it
-# would be a Bad Thing for the CPAN module to grab it and replace this
-# module. Therefore, we set this module's version higher than 2.0.
-$VERSION = '2.12';
+$VERSION = '2.13';
require Exporter;
@ISA = qw(Exporter);
@@ -392,6 +387,9 @@ upon the file, but will generally be the whole file (up to 2MB), or
You may use the syntax C<use File::Copy "cp"> to get at the
"cp" alias for this function. The syntax is I<exactly> the same.
+As of version 2.13, on UNIX systems, "copy" will preserve permission
+bits like the shell utility C<cp> would do.
+
=item move
X<move> X<mv> X<rename>