avoid nonportable example code
Gurusamy Sarathy [Mon, 9 Oct 2000 18:50:03 +0000 (18:50 +0000)]
p4raw-id: //depot/perl@7174

lib/File/Copy.pm

index e6cf786..8d1d783 100644 (file)
@@ -221,7 +221,7 @@ File::Copy - Copy files or filehandles
        use POSIX;
        use File::Copy cp;
 
-       $n=FileHandle->new("/dev/null","r");
+       $n = FileHandle->new("/a/file","r");
        cp($n,"x");'
 
 =head1 DESCRIPTION