diff options
author | Chip Salzenberg <chip@pobox.com> | 2004-01-31 17:29:05 +0000 |
---|---|---|
committer | chip <chip@pobox.com> | 2004-01-31 17:29:05 +0000 |
commit | 0c2f6559512b2211f892f1a6ae8db4739c5369b4 (patch) | |
tree | bede3dc4ae1655dc685272b020f7ef1a9c40bebc /pod/perlfork.pod | |
parent | 2d713cbdb46b509890c04ac2e5b1893a8fac1914 (diff) | |
download | perl-0c2f6559512b2211f892f1a6ae8db4739c5369b4.tar.gz |
Don't show code closing STD{IN,OUT} before reopening, because
doing so is unnecessary and occasionally harmful.
p4raw-id: //depot/perl@22252
Diffstat (limited to 'pod/perlfork.pod')
-rw-r--r-- | pod/perlfork.pod | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pod/perlfork.pod b/pod/perlfork.pod index 8ce0739794..832710a80c 100644 --- a/pod/perlfork.pod +++ b/pod/perlfork.pod @@ -208,7 +208,6 @@ write to a forked child: else { # child while (<STDIN>) { print; } - close STDIN; exit(0); } @@ -238,7 +237,6 @@ And this one reads from the child: else { # child print "pipe_from_fork\n"; - close STDOUT; exit(0); } |