From 4ef6d3801d0c96dcb38fbd4a1c2a0e49196ef033 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Wed, 15 Jun 2016 10:11:26 +1000 Subject: (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. --- lib/File/Copy.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/File') 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 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, C returns 1 on success. If an error occurs, it sets C<$!>, deletes the output file, and returns 0. -- cgit v1.2.1