From: Father Chrysostomos Date: Mon, 19 Sep 2011 00:08:28 +0000 (-0700) Subject: Correct perldelta entry for -l \*foo change X-Git-Tag: accepted/trunk/20130322.191538~2694 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=396d9be3a10e83ab21f5e5cf4b8a07c359ef141e;p=platform%2Fupstream%2Fperl.git Correct perldelta entry for -l \*foo change --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index f463fae..c95b8dd 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -863,8 +863,10 @@ recent C/C call was an C. In Perl 5.6, C<-l> followed by anything other than a bareword would treat its argument as a file name. That was changed in 5.8 for glob references -(C<\*foo>), but not for globs themselves (C<*foo>). Glob references -started being treated as file handles, but only if warnings were turned on. +(C<\*foo>), but not for globs themselves (C<*foo>). C<-l> started +returning C for glob references without setting the last +stat buffer that the "_" handle uses, but only if warnings +were turned on. With warnings off, it was the same as 5.6. In other words, it was simply buggy and inconsistent. Now the 5.6 behaviour has been restored.