From: David Golden Date: Mon, 16 Nov 2009 16:26:53 +0000 (-0500) Subject: Document SIGPIPE when printing to closed socket X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=785fd5613b60801c14774ee5747ea16cbcdb8489;p=p5sagit%2Fp5-mst-13.2.git Document SIGPIPE when printing to closed socket --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 53c318f..bacf296 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 for more on signal handling. + =item printf FILEHANDLE FORMAT, LIST X