diff options
author | Zsbán Ambrus <ambrus@math.bme.hu> | 2013-06-09 10:50:06 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2013-06-09 10:52:20 -0400 |
commit | 86e39d7d2858df4e45eac192041d5cb3bd87000e (patch) | |
tree | dea1d387d5b3ffbeacd9f0f498b3523e19330695 /lib/File | |
parent | 739ba955b87a7c51cbe4a37b923b0ba749c197a7 (diff) | |
download | perl-86e39d7d2858df4e45eac192041d5cb3bd87000e.tar.gz |
use more descriptive examples in File::Copy
Diffstat (limited to 'lib/File')
-rw-r--r-- | lib/File/Copy.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm index 19a5838c0a..b64f609855 100644 --- a/lib/File/Copy.pm +++ b/lib/File/Copy.pm @@ -22,7 +22,7 @@ sub syscopy; sub cp; sub mv; -$VERSION = '2.26'; +$VERSION = '2.27'; 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"; |