This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adec1d0
)
clarify what text 'warn' appends to a newline-less string
author
Dave Mitchell
<davem@fdisolutions.com>
Wed, 4 Jul 2007 23:09:02 +0000
(23:09 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Wed, 4 Jul 2007 23:09:02 +0000
(23:09 +0000)
p4raw-id: //depot/perl@31537
pod/perlfunc.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
c6b8659
..
9cf780a
100644
(file)
--- a/
pod/perlfunc.pod
+++ b/
pod/perlfunc.pod
@@
-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">