summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-04-25 04:55:38 +1200
committerChip Salzenberg <chip@atlantic.net>1997-04-27 00:00:00 +1200
commit0dccf24430a5250869822117cfec215176703c7f (patch)
treeb88035f494162c30847562e5b384d07e10823adf /pod/perlfunc.pod
parentdd2afc7eca335b517bec81ce70a8a5a1c86b9c11 (diff)
downloadperl-0dccf24430a5250869822117cfec215176703c7f.tar.gz
Doc fix for close of pipe handle
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 913f6f8fbd..a99dffeb4d 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2020,12 +2020,13 @@ The following pairs are more or less equivalent:
See L<perlipc/"Safe Pipe Opens"> 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