Re: var watcher behaviour
[email protected] (Nick Ing-Simmons)
| Newsgroups | perl.loop |
|---|---|
| Organization | via, but not speaking for : Texas Instruments Ltd. |
| Message-ID | <[email protected]> |
Jochen Stenzel <[email protected]> writes: >(Of course, this is only a solution if >we can be sure that ALL perl statements which MODIFY a variable result in only ONE >internal write access. Am I right?) "statement" is a vague word. $foo++ for (1..1000000); is one "statement" that writes $foo many times. I think most perl o_ps_ will (in the absence of ties or other C-level magic) only write it once. You cannot tell what XS code might do, or ties. -- Nick Ing-Simmons <[email protected]> Via, but not speaking for: Texas Instruments Ltd.