diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-09-18 17:08:28 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-09-18 17:09:06 -0700 |
commit | 396d9be3a10e83ab21f5e5cf4b8a07c359ef141e (patch) | |
tree | 5b2f2addb8f820f20571ee294ee0f3511168aa1c /pod | |
parent | 85091ccc46b54ca843402c676923435ca5b88474 (diff) | |
download | perl-396d9be3a10e83ab21f5e5cf4b8a07c359ef141e.tar.gz |
Correct perldelta entry for -l \*foo change
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index f463faefb5..c95b8ddb42 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. |