in reply to (tye)Re2: Functions
in thread Functions
Since $sub goes out of scope, but there is still a pointer to it which can only be accessed via GlobalRoutine, I would consider it a closure, although possibly not by the true sense of the definition. However, $sub could itself use lexical, and meet the 'definition'. I'll call it a pseudo-closure, you can call it a 'closing' if you like.
Cheers,
KM
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re3: Functions
by tye (Sage) on Jan 30, 2001 at 02:03 UTC | |
by KM (Priest) on Jan 30, 2001 at 02:24 UTC | |
by tye (Sage) on Jan 30, 2001 at 02:42 UTC | |
by KM (Priest) on Jan 30, 2001 at 02:55 UTC |