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

Re: Hash::Util and read-only values

Thread Previous | Thread Next
September 20, 2014 03:06
Re: Hash::Util and read-only values
Message ID:
On 20 September 2014 05:03, demerphq <> wrote:

> On 20 September 2014 03:11, Father Chrysostomos <> wrote:
>> Yves Orton wrote:
>> > On 20 September 2014 00:48, Father Chrysostomos <sprout>
>> wrote:
>> >
> Since Hash::Util is the part of the core (if you will) that uses the
>> flag differently, we do need to discuss how it will behave, since that
>> is where the bugs in the design show through.
> Again that isn't clear to me. Hash::Util simply uses
> Internals::SvREADONLY(), anything that uses it, and stuff does, is an issue.

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


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