in reply to cross scope gotos?
I think you are confusing two things: the normal goto, and goto &subroutine;, which are really two entirely different beasts. The latter is really tailcall. It replaces the current call frame, thus removing the current frame from the dynamic scope
what exactly is dynamic scope?Dynamic scope is the current scope, plus the scope of the caller, plus the scope of the caller's caller etc.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: cross scope gotos?
by LanX (Saint) on Apr 06, 2010 at 12:21 UTC | |
by LanX (Saint) on Apr 06, 2010 at 12:36 UTC | |
by Anonymous Monk on Apr 06, 2010 at 13:20 UTC | |
by LanX (Saint) on Apr 06, 2010 at 13:28 UTC |
In Section
Seekers of Perl Wisdom