develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #128588] Tied hash magic ignored in references the first time'round

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
July 10, 2016 01:19
Subject:
[perl #128588] Tied hash magic ignored in references the first time'round
Message ID:
rt-4.0.18-32042-1468113589-1879.128588-15-0@perl.org
On Sat Jul 09 17:46:33 2016, zefram@fysh.org wrote:
> Father Chrysostomos via RT wrote:
> >What do others think?
> 
> I think ref() shouldn't have been defined to distinguish between types of
> scalar referent.  But given that that is a visible part of what it does,
> it seems necessary for it to handle magic on the referent.

Yes, that ref() does three different things was an unfortunate design flaw.

-- 

Father Chrysostomos


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

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