Tom Christiansen <tchrist@jhereg.perl.com> writes: >>$a = 5; >>sub a { print $a } >>sub b {local $a = 9; goto &a} >>b; > >>This still prints 5... :-( > >And this is a problem exactly how? > >b()'s frame goes away. One could expect the frame to stay until the "goto" returned ;-) >So its local view of $a >went away. > >I do not find this behaviour astonishing. -- Nick Ing-Simmons <nik@tiuk.ti.com> Via, but not speaking for: Texas Instruments Ltd.