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

Re: hash keys (Re: Ideas for papers)

Thread Previous | Thread Next
Simon Cozens
January 17, 2001 15:13
Re: hash keys (Re: Ideas for papers)
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About