in reply to Re^3: Keeping variables throug a fork
in thread Keeping variables throug a fork

Works great in C code where read accesses to variables doesn't change anything.

In perl, where a read access can cause change: like using a string scalar (PV) in a numeric context; or an integer or real scalar (IV or NV) in a string context; or taking a reference to any type of variable; or an other operation that causes the SVs contents to change as a result of a Perl level read access; and the 4k page that SV lives in, has to be copied.

Still beneficial, but not always as beneficial as it at first might appear.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."