in reply to Re^9: sub fuction inside sub functioin?
in thread sub fuction inside sub functioin?
In my example the lexical variable $inner is allocated *once* in the outer-closure. You may have plenty of cyclic refrences, but please show me how the allocated space for this *lonely* variable may cause a memory leak!?!
or do you think the space for the reference counter may leak???
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: sub fuction inside sub functioin?
by ikegami (Patriarch) on Dec 08, 2008 at 13:20 UTC | |
by LanX (Saint) on Dec 08, 2008 at 14:16 UTC | |
by ikegami (Patriarch) on Dec 08, 2008 at 17:08 UTC |