summaryrefslogtreecommitdiff
path: root/lib/File
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-06-15 10:11:26 +1000
committerTony Cook <tony@develop-help.com>2016-06-15 10:19:15 +1000
commit4ef6d3801d0c96dcb38fbd4a1c2a0e49196ef033 (patch)
treea0d1f326b5b0139348dd4426cafc7a48d862c924 /lib/File
parent971f6fbfde1db03544080e4ca5682549e5856597 (diff)
downloadperl-4ef6d3801d0c96dcb38fbd4a1c2a0e49196ef033.tar.gz
(perl #128199) rmscopy() is VMS specific and not exported
The first is kind of implied by the text, but make it explicit. Added minor punctuation fixes suggested by Reuben Thomas.
Diffstat (limited to 'lib/File')
-rw-r--r--lib/File/Copy.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm
index 842bd31cef..47e6429771 100644
--- a/lib/File/Copy.pm
+++ b/lib/File/Copy.pm
@@ -22,7 +22,7 @@ sub syscopy;
sub cp;
sub mv;
-$VERSION = '2.31';
+$VERSION = '2.32';
require Exporter;
@ISA = qw(Exporter);
@@ -479,6 +479,11 @@ from the input filespec, then all timestamps other than the
revision date are propagated. If this parameter is not supplied,
it defaults to 0.
+C<rmscopy> is VMS specific and cannot be exported; it must be
+referenced by its full name, e.g.:
+
+ File::Copy::rmscopy($from, $to) or die $!;
+
Like C<copy>, C<rmscopy> returns 1 on success. If an error occurs,
it sets C<$!>, deletes the output file, and returns 0.