summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-10-09 18:50:03 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-10-09 18:50:03 +0000
commit23f3aea032e3289acf8e6a178372c27e8e03f4a0 (patch)
treeda7ae39bd3d2fc4d91922cbe854cabf84bff698f /lib
parenta10b7b7eee64efea010bfdba91243503341ba68d (diff)
downloadperl-23f3aea032e3289acf8e6a178372c27e8e03f4a0.tar.gz
avoid nonportable example code
p4raw-id: //depot/perl@7174
Diffstat (limited to 'lib')
-rw-r--r--lib/File/Copy.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/File/Copy.pm b/lib/File/Copy.pm
index e6cf786034..8d1d7834c9 100644
--- a/lib/File/Copy.pm
+++ b/lib/File/Copy.pm
@@ -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