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

Re: [PATCH for discussion] new feature: clamp %hash

Thread Previous | Thread Next
From:
Arthur Bergman
Date:
July 25, 2001 06:34
Subject:
Re: [PATCH for discussion] new feature: clamp %hash
Message ID:
B784976D.281D%arthur@contiller.se
01-07-25 14.47, skrev Nick Ing-Simmons på nick@ing-simmons.net följande:

>> And I'll reiterate that if you want clamping, then Tie::SecureHash
>> does exactly what you're after.
> 
> Except speed. Jeffrey's scheme trades a C level SvREADONLY(hv)
> (on all hash accesses) vs method despatch on "clamp-via-tie".
> 

Can't you implment this using magic? (not tie magic, but a new magic)

-- 
Arthur


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