In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/396d9be3a10e83ab21f5e5cf4b8a07c359ef141e?hp=85091ccc46b54ca843402c676923435ca5b88474>
- Log ----------------------------------------------------------------- commit 396d9be3a10e83ab21f5e5cf4b8a07c359ef141e Author: Father Chrysostomos <spr...@cpan.org> Date: Sun Sep 18 17:08:28 2011 -0700 Correct perldelta entry for -l \*foo change ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) 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<stat>/C<lstat> call was an C<lstat>. 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<undef> 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. -- Perl5 Master Repository