develooper Front page | perl.perl5.porters | Postings from October 2013

[perl #119529] Filehandle opened from ref to ref hangs on reading

Thread Next
From:
Father Chrysostomos via RT
Date:
October 25, 2013 21:23
Subject:
[perl #119529] Filehandle opened from ref to ref hangs on reading
Message ID:
rt-4.0.18-14228-1382736190-630.119529-15-0@perl.org
On Thu Oct 17 07:58:17 2013, davem wrote:
> I've pushed the following, which fixes the original bug report by
> going
> down the stringifying route.
> 
> 
> commit 552908b17471877454d99aa32f7ac5c29ea2efbb
> Author:     David Mitchell <davem@iabyn.com>
> AuthorDate: Thu Oct 17 15:35:14 2013 +0100
> Commit:     David Mitchell <davem@iabyn.com>
> CommitDate: Thu Oct 17 15:46:05 2013 +0100

...which unfortunately breaks when reading a read-only ref in "<" mode.  I pushed a better fix as 5a2bc23b.

I actually wrote something similar to that a month ago, but then sat on it as real life got in the way.

The amazing thing was that both Dave Mitchell and I used \42 it our tests.  Great minds think alike!

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: resolved
https://rt.perl.org/Ticket/Display.html?id=119529

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