From: Rafael Garcia-Suarez Date: Mon, 12 Mar 2007 21:00:05 +0000 (+0000) Subject: warn() without args doesn't take a default message in $_, but in $@ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ec8bb14c75ac0618013f522bd8b76e2523bdeed1;p=p5sagit%2Fp5-mst-13.2.git warn() without args doesn't take a default message in $_, but in $@ p4raw-id: //depot/perl@30554 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 1b01b6b..b80331d 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) 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