summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam R Ward <hermit@BayView.COM>2002-03-27 04:31:32 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-27 23:53:27 +0000
commitdf37ec69b5ca6973cb55ee858bb7357e978debb8 (patch)
tree1f579c61ac2fb496e13543992d184782f0721599
parent54c18d0455d4f9550786bea467f5a04c96e86890 (diff)
downloadperl-df37ec69b5ca6973cb55ee858bb7357e978debb8.tar.gz
Error in perlfunc for "die"
Message-ID: <m2it7hrbvf.fsf@komodo.home.wards.net> p4raw-id: //depot/perl@15563
-rw-r--r--pod/perlfunc.pod20
1 files changed, 10 insertions, 10 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 78d25be6f9..a513d684ee 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<perlvar/"$/"> and L<perlvar/"$.">.
-
-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<perlvar/"$/"> and L<perlvar/"$.">.
+
+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";