This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
File::Copy Pod
authorSlaven Rezic <slaven@rezic.de>
Mon, 10 May 2004 09:57:37 +0000 (09:57 +0000)
committerAbhijit Menon-Sen <ams@wiw.org>
Mon, 10 May 2004 10:14:40 +0000 (10:14 +0000)
Message-Id: <1084183057.10822@devpc01.iconmobile.de>

p4raw-id: //depot/perl@22803

lib/File/Copy.pm

index f5b22e2..69ac361 100644 (file)
@@ -274,8 +274,7 @@ File::Copy - Copy files or filehandles
        copy("Copy.pm",\*STDOUT);
        move("/dev1/fileA","/dev2/fileB");
 
-       use POSIX;
-       use File::Copy cp;
+       use File::Copy "cp";
 
        $n = FileHandle->new("/a/file","r");
        cp($n,"x");'