This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
clarify what text 'warn' appends to a newline-less string
authorDave Mitchell <davem@fdisolutions.com>
Wed, 4 Jul 2007 23:09:02 +0000 (23:09 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Wed, 4 Jul 2007 23:09:02 +0000 (23:09 +0000)
p4raw-id: //depot/perl@31537

pod/perlfunc.pod

index c6b8659..9cf780a 100644 (file)
@@ -7267,7 +7267,8 @@ This function should have been named wantlist() instead.
 X<warn> X<warning> X<STDERR>
 
 Prints the value of LIST to STDERR.  If the last element of LIST does
-not end in a newline, appends the same text as C<die> does.
+not end in a newline, it appends the same file/line number text as C<die>
+does.
 
 If LIST is empty and C<$@> already contains a value (typically from a
 previous eval) that value is used after appending C<"\t...caught">