projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c7fdd
)
[DOCPATCH] File::Copy's synopsis
author
Nicholas Clark
<nick@ccl4.org>
Wed, 1 Jan 2003 21:09:30 +0000
(21:09 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sat, 4 Jan 2003 20:06:45 +0000
(20:06 +0000)
Message-ID: <
20030101210930
.GE296@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@18441
lib/File/Copy.pm
patch
|
blob
|
history
diff --git
a/lib/File/Copy.pm
b/lib/File/Copy.pm
index
d2152ca
..
5c5f0f3
100644
(file)
--- a/
lib/File/Copy.pm
+++ b/
lib/File/Copy.pm
@@
-269,13
+269,13
@@
File::Copy - Copy files or filehandles
=head1 SYNOPSIS
- use File::Copy;
+ use File::Copy;
- copy("file1","file2");
- copy("Copy.pm",\*STDOUT);
'
+ copy("file1","file2")
or die "Copy failed: $!"
;
+ copy("Copy.pm",\*STDOUT);
move("/dev1/fileA","/dev2/fileB");
- use POSIX;
+ use POSIX;
use File::Copy cp;
$n = FileHandle->new("/a/file","r");