From: Tony Cook Date: Wed, 15 Jun 2016 00:11:26 +0000 (+1000) Subject: (perl #128199) rmscopy() is VMS specific and not exported X-Git-Tag: v5.25.2~45 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/4ef6d3801d0c96dcb38fbd4a1c2a0e49196ef033?hp=971f6fbfde1db03544080e4ca5682549e5856597 (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. --- diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm index 842bd31..47e6429 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.