develooper Front page | perl.perl5.changes | Postings from May 2008

Change 33795: Bump version and document last change.

From:
Rafael Garcia-Suarez
Date:
May 8, 2008 09:15
Subject:
Change 33795: Bump version and document last change.
Change 33795 by rgs@scipion on 2008/05/08 16:12:36

	Bump version and document last change.

Affected files ...

... //depot/perl/lib/File/Copy.pm#53 edit

Differences ...

==== //depot/perl/lib/File/Copy.pm#53 (text) ====
Index: perl/lib/File/Copy.pm
--- perl/lib/File/Copy.pm#52~33794~	2008-05-08 09:05:37.000000000 -0700
+++ perl/lib/File/Copy.pm	2008-05-08 09:12:36.000000000 -0700
@@ -19,12 +19,7 @@
 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 @@
 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>
 
End of Patch.



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About