Change 23530 by [EMAIL PROTECTED] on 2004/11/23 22:49:13
Integrate:
[ 23518]
Subject: [perl #32486] error in documentation for POSIX::pipe
From: [EMAIL PROTECTED] (via RT) <[EMAIL PROTECTED]>
Date: 18 Nov 2004 18:09:54 -0000
Message-ID: <[EMAIL PROTECTED]>
[ 23527]
Subject: Re: [perl #32486] error in documentation for POSIX::pipe
From: Michael G Schwern <[EMAIL PROTECTED]>
Date: Fri, 19 Nov 2004 14:28:56 -0500
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/maint-5.8/perl/ext/POSIX/POSIX.pod#13 integrate
Differences ...
==== //depot/maint-5.8/perl/ext/POSIX/POSIX.pod#13 (text) ====
Index: perl/ext/POSIX/POSIX.pod
--- perl/ext/POSIX/POSIX.pod#12~22794~ Thu May 6 08:43:41 2004
+++ perl/ext/POSIX/POSIX.pod Tue Nov 23 14:49:13 2004
@@ -955,9 +955,9 @@
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 );
+ my ($read, $write) = POSIX::pipe();
+ POSIX::write( $write, "hello", 5 );
+ POSIX::read( $read, $buf, 5 );
See also L<perlfunc/pipe>.
End of Patch.