From 0dccf24430a5250869822117cfec215176703c7f Mon Sep 17 00:00:00 2001 From: Chip Salzenberg Date: Fri, 25 Apr 1997 04:55:38 +1200 Subject: [PATCH] Doc fix for close of pipe handle --- pod/perlfunc.pod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.7.4