From 396d9be3a10e83ab21f5e5cf4b8a07c359ef141e Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sun, 18 Sep 2011 17:08:28 -0700 Subject: [PATCH] Correct perldelta entry for -l \*foo change --- pod/perldelta.pod | 6 ++++-- 1 file 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/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. -- 1.8.3.1