diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-01-27 21:19:03 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-01-27 21:19:03 +0000 |
commit | dede81231bb6ec127910ed7dddb6f1aeb0cf28da (patch) | |
tree | 9619fcc09818f539ed0a222d9e06c153de4e9353 /pod | |
parent | 4c2e8b59470475b2be2757a46f0310b650149aa2 (diff) | |
download | perl-dede81231bb6ec127910ed7dddb6f1aeb0cf28da.tar.gz |
More punctuation, good.
p4raw-id: //depot/perl@22235
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlfunc.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 5e4631bbda..f3a0adfe14 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -770,10 +770,10 @@ another C<open> on it, because C<open> will close it for you. (See C<open>.) However, an explicit C<close> on an input file resets the line counter (C<$.>), while the implicit close done by C<open> does not. -If the file handle came from a piped open C<close> will additionally -return false if one of the other system calls involved fails or if the +If the file handle came from a piped open, C<close> will additionally +return false if one of the other system calls involved fails, or if the program exits with non-zero status. (If the only problem was that the -program exited non-zero C<$!> will be set to C<0>.) Closing a pipe +program exited non-zero, C<$!> will be set to C<0>.) Closing a pipe also waits for the process executing on the pipe to complete, in case you want to look at the output of the pipe afterwards, and implicitly puts the exit status value of that command into C<$?>. |