summaryrefslogtreecommitdiff
path: root/ext/POSIX
diff options
context:
space:
mode:
authorChris Lightfoot <chris@ex-parrot.com>2004-11-18 18:09:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-11-19 09:22:33 +0000
commit1bb8ad523126a79135f26a08af30cf96a4989f0f (patch)
treeb952a0e4a7f34e8bdd45a6ddc81d72f46e61138d /ext/POSIX
parentfb738efdc45a5c0caa25b88b4b04eb967f465e83 (diff)
downloadperl-1bb8ad523126a79135f26a08af30cf96a4989f0f.tar.gz
[perl #32486] error in documentation for POSIX::pipe
From: chris@ex-parrot.com (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-32486-100537.1.04456486825399@perl.org> p4raw-id: //depot/perl@23518
Diffstat (limited to 'ext/POSIX')
-rw-r--r--ext/POSIX/POSIX.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod
index 66f5381949..e7e0ad324b 100644
--- a/ext/POSIX/POSIX.pod
+++ b/ext/POSIX/POSIX.pod
@@ -956,8 +956,8 @@ Create an interprocess channel. This returns file descriptors like those
returned by C<POSIX::open>.
($fd0, $fd1) = POSIX::pipe();
- POSIX::write( $fd0, "hello", 5 );
- POSIX::read( $fd1, $buf, 5 );
+ POSIX::write( $fd1, "hello", 5 );
+ POSIX::read( $fd0, $buf, 5 );
See also L<perlfunc/pipe>.