From: William R Ward Date: Wed, 27 Mar 2002 12:31:32 +0000 (-0800) Subject: Error in perlfunc for "die" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df37ec69b5ca6973cb55ee858bb7357e978debb8;p=p5sagit%2Fp5-mst-13.2.git Error in perlfunc for "die" Message-ID: p4raw-id: //depot/perl@15563 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 78d25be..a513d68 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1054,16 +1054,16 @@ Equivalent examples: die "Can't cd to spool: $!\n" unless chdir '/usr/spool/news'; chdir '/usr/spool/news' or die "Can't cd to spool: $!\n" -If the value of EXPR does not end in a newline, the current script line -number and input line number (if any) are also printed, and a newline -is supplied. Note that the "input line number" (also known as "chunk") -is subject to whatever notion of "line" happens to be currently in -effect, and is also available as the special variable C<$.>. -See L and L. - -Hint: sometimes appending C<", stopped"> to your message -will cause it to make better sense when the string C<"at foo line 123"> is -appended. Suppose you are running script "canasta". +If the last value of LIST does not end in a newline, the current +script line number and input line number (if any) are also printed, +and a newline is supplied. Note that the "input line number" (also +known as "chunk") is subject to whatever notion of "line" happens to +be currently in effect, and is also available as the special variable +C<$.>. See L and L. + +Hint: sometimes appending C<", stopped"> to your message will cause it +to make better sense when the string C<"at foo line 123"> is appended. +Suppose you are running script "canasta". die "/etc/games is no good"; die "/etc/games is no good, stopped";