From: Bo Lindbergh Date: Wed, 26 Nov 2008 10:54:53 +0000 (+0100) Subject: Small eval documentation tweak X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bbead3ca7e50b701f65ec6cf737d745fbe719760;p=p5sagit%2Fp5-mst-13.2.git Small eval documentation tweak Message-Id: p4raw-id: //depot/perl@34945 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index e3d9b27..65e019b 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1549,7 +1549,8 @@ itself. See L for more on how the evaluation context can be determined. If there is a syntax error or runtime error, or a C statement is -executed, an undefined value is returned by C, and C<$@> is set to the +executed, C returns an undefined value in scalar context +or an empty list in list context, and C<$@> is set to the error message. If there was no error, C<$@> is guaranteed to be a null string. Beware that using C neither silences perl from printing warnings to STDERR, nor does it stuff the text of warning messages into C<$@>.