in reply to Re: my and scope
in thread my, scope, and references
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: my and scope
by davido (Cardinal) on Mar 28, 2013 at 22:06 UTC | |
|
Re^3: my and scope
by LanX (Saint) on Mar 28, 2013 at 22:14 UTC | |
by davido (Cardinal) on Mar 28, 2013 at 22:43 UTC |