In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/ed9113faaa67f462b522e2da6b13ae131fea4cee?hp=3c1e67acf7ef53180a12a2904a6a8ceb2bbfd512>
- Log ----------------------------------------------------------------- commit ed9113faaa67f462b522e2da6b13ae131fea4cee Author: Alexandr Ciornii <[email protected]> Date: Sun Mar 16 14:12:42 2014 +0200 File::Copy does not overwrite read-only files ----------------------------------------------------------------------- Summary of changes: lib/File/Copy.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm index a20a964..95fb4e1 100644 --- a/lib/File/Copy.pm +++ b/lib/File/Copy.pm @@ -22,7 +22,7 @@ sub syscopy; sub cp; sub mv; -$VERSION = '2.29'; +$VERSION = '2.30'; require Exporter; @ISA = qw(Exporter); @@ -370,6 +370,7 @@ written to. If the second argument does not exist but the parent directory does exist, then it will be created. Trying to copy a file into a non-existent directory is an error. Trying to copy a file on top of itself is also an error. +C<copy> will not overwrite read-only files. If the destination (second argument) already exists and is a directory, and the source (first argument) is not a filehandle, then the source -- Perl5 Master Repository
