From: Chip Salzenberg Date: Thu, 24 Apr 1997 16:55:38 +0000 (+1200) Subject: Doc fix for close of pipe handle X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0dccf24430a5250869822117cfec215176703c7f;p=p5sagit%2Fp5-mst-13.2.git Doc fix for close of pipe handle --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 913f6f8..a99dffe 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -2020,12 +2020,13 @@ The following pairs are more or less equivalent: See L for more examples of this. -Explicitly closing any piped filehandle causes the parent process to -wait for the child to finish, and returns the status value in C<$?>. -Note: on any operation which may do a fork, unflushed buffers remain +NOTE: On any operation which may do a fork, unflushed buffers remain unflushed in both processes, which means you may need to set C<$|> to avoid duplicate output. +Closing any piped filehandle causes the parent process to wait for the +child to finish, and returns the status value in C<$?>. + Using the constructor from the IO::Handle package (or one of its subclasses, such as IO::File or IO::Socket), you can generate anonymous filehandles which have the scope of whatever