"This is pretty much at the heart of the reference-counting model at the heart of perl."I see what you mean. So do you think that when iterating over values, the refcount of all values being iterated should have their refcount incremented before the loop starts?
In reply to Re^11: Use of freed value in iteration
by Danny
in thread Use of freed value in iteration
by js1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |