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

Re: hash keys (Re: Ideas for papers)

Thread Previous | Thread Next
From:
Simon Cozens
Date:
January 17, 2001 15:13
Subject:
Re: hash keys (Re: Ideas for papers)
Message ID:
20010117231338.A31535@pembro26.pmb.ox.ac.uk
On Wed, Jan 17, 2001 at 11:05:59PM +0000, Nicholas Clark wrote:
> Either way, is it OK to meddle with the IV slot on a SV with SVf_READONLY set?
> Is it a sign that the value isn't mutable? Or that it's to be treated as if
> it's in read only memory?

SVf_READONLY merely means "if you modify this I will scream".
If you modify it behind Perl's back, there's no problem.

-- 
"He was a modest, good-humored boy.  It was Oxford that made him insufferable."

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