summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2009-11-16 11:26:53 -0500
committerDavid Golden <dagolden@cpan.org>2009-11-16 11:26:53 -0500
commit785fd5613b60801c14774ee5747ea16cbcdb8489 (patch)
tree15bfbf90d35b975878968f6d9f5035d43404accf /pod
parent17bede5aef4d3e8265e4332c36f8bace338be70f (diff)
downloadperl-785fd5613b60801c14774ee5747ea16cbcdb8489.tar.gz
Document SIGPIPE when printing to closed socket
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 53c318fdb6..bacf296299 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4197,6 +4197,9 @@ you will have to use a block returning the filehandle value instead:
print { $files[$i] } "stuff\n";
print { $OK ? STDOUT : STDERR } "stuff\n";
+Printing to a closed pipe or socket will generate a SIGPIPE signal. See
+L<perlipc> for more on signal handling.
+
=item printf FILEHANDLE FORMAT, LIST
X<printf>