develooper Front page | perl.perl5.porters | Postings from January 2012

[perl #8244] *FILE{IO} does not behave like *FILE for stat() and -X() operators

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
January 14, 2012 14:19
Subject:
[perl #8244] *FILE{IO} does not behave like *FILE for stat() and -X() operators
Message ID:
rt-3.6.HEAD-14510-1326579578-434.8244-15-0@perl.org
On Fri Jan 13 22:38:26 2012, sprout wrote:
> Also, that commits causes lstat(*$fh{IO}) to do the same thing as
> stat(_), but with a warning.  Shouldn’t it revert to stat(*$fh{IO}, just
> as lstat(HANDLE) reverts to stat(HANDLE) (but with a warning)?

It’s actually documented to do an fstat in perldiag.  So I’ve changed it
to do that, with commit 0d5064f.

-t, -T and -B still do not accept iorefs.  I haven’t changed that (yet).

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=8244

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About