in reply to Mini-Tutorial: Perl's Memory Management
Lexical variables don't get freed at end of scope. They are cleared on scope exit...From then on in I was lost. What the difference is between "freed" and "cleared" or "end" and "exit" is in this context defeats me (and I'm not absolutely sure about lexical). Obscure in the extreme without a far deeper explanation of the subject. And that is just the second paragraph. :-)
The title says "Mini-Tutorial: Perl's Memory Management". I would hope this is not included as or referred to as a faq/tutorial for scope or references, there are far friendly ways to do this.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Mini-Tutorial: Perl's Memory Management
by oha (Friar) on Oct 28, 2009 at 13:36 UTC | |
by kyle (Abbot) on Oct 28, 2009 at 13:53 UTC | |
Re^2: Mini-Tutorial: Perl's Memory Management
by Anonymous Monk on Oct 28, 2009 at 14:17 UTC | |
by oha (Friar) on Oct 28, 2009 at 17:21 UTC |