Hi Rolf,
Thanks, that helps. I re-read Chapter 8 of the Camel book after my code worked, and I came across the following on page 243:
Suppose, for example, that you create a hard reference to a lexically scoped array named @array. This hard reference, and the referent it refers to, will continue to exist even after @array goes out of scope. A referent is only destroyed when all the references to it are eliminated.
So everyone else thinks it's good style?
I appreciate all the quick responses.
Chris
In reply to Re^2: my and scope
by chayashida
in thread my, scope, and references
by chayashida
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |