This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739ba95
)
use more descriptive examples in File::Copy
author
Zsbán Ambrus
<ambrus@math.bme.hu>
Sun, 9 Jun 2013 14:50:06 +0000
(10:50 -0400)
committer
Ricardo Signes
<rjbs@cpan.org>
Sun, 9 Jun 2013 14:52:20 +0000
(10:52 -0400)
lib/File/Copy.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/File/Copy.pm
b/lib/File/Copy.pm
index
19a5838
..
b64f609
100644
(file)
--- a/
lib/File/Copy.pm
+++ b/
lib/File/Copy.pm
@@
-22,7
+22,7
@@
sub syscopy;
sub cp;
sub mv;
-$VERSION = '2.2
6
';
+$VERSION = '2.2
7
';
require Exporter;
@ISA = qw(Exporter);
@@
-435,9
+435,9
@@
File::Copy - Copy files or filehandles
use File::Copy;
- copy("
file1","file2
") or die "Copy failed: $!";
+ copy("
sourcefile","destinationfile
") or die "Copy failed: $!";
copy("Copy.pm",\*STDOUT);
- move("/dev1/
fileA","/dev2/fileB
");
+ move("/dev1/
sourcefile","/dev2/destinationfile
");
use File::Copy "cp";