On Wed, 6 Sep 2000, Stas Bekman wrote:
> Just a small correction: 
> 
> You can cause pages to become unshared in perl just by writing a variable,
>                                                        ^^^^^^^
> so it's almost certain to happen sooner or later.
> 
> Or for example calling pos() which modifies the variable internals:
> http://perl.apache.org/guide/performance.html#Are_My_Variables_Shared_

If you read a variable in a way that causes it to be converted between a
numerical value and a string and it hasn't happened before, that will
change the internal structure and unshare the memory on one or more
pages.  I'm no perlguts hacker, but I think this is correct.

- Perrin

Reply via email to