diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-12 21:00:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-12 21:00:05 +0000 |
commit | ec8bb14c75ac0618013f522bd8b76e2523bdeed1 (patch) | |
tree | 012b04fdae4f9274aaebc75fbfca7eadf566ffca /pod/perldiag.pod | |
parent | 36932700a4dbb6a64cc9d5ed20faca911d716e57 (diff) | |
download | perl-ec8bb14c75ac0618013f522bd8b76e2523bdeed1.tar.gz |
warn() without args doesn't take a default message in $_, but in $@
p4raw-id: //depot/perl@30554
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 1b01b6b1b0..b80331d555 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4883,7 +4883,7 @@ minimum version. =item Warning: something's wrong (W) You passed warn() an empty string (the equivalent of C<warn "">) or -you called it with no args and C<$_> was empty. +you called it with no args and C<$@> was empty. =item Warning: unable to close filehandle %s properly |