develooper Front page | perl.perl5.porters | Postings from September 2014

Re: Hash::Util and read-only values

Thread Previous | Thread Next
Father Chrysostomos
September 20, 2014 04:30
Re: Hash::Util and read-only values
Message ID:
Yves Orton wrote:
> I think we could add a new bit "locked", and then make SvREADONLY() use it.
> That would be a reasonable fix. But again it doesnt require changing
> Hash::Util at all. It requires changing universal.c XS_Internals_SvREADONLY

We also have CPAN modules fiddling with SvREADONLY.  So I think the
real solution is:


and SvREADONLY_on/_off only flip the SVf_READONLY flag #ifndef

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About