From 785fd5613b60801c14774ee5747ea16cbcdb8489 Mon Sep 17 00:00:00 2001 From: David Golden Date: Mon, 16 Nov 2009 11:26:53 -0500 Subject: Document SIGPIPE when printing to closed socket --- pod/perlfunc.pod | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pod') 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 for more on signal handling. + =item printf FILEHANDLE FORMAT, LIST X -- cgit v1.2.1