in reply to Re: Re: Eek! goto?
in thread (duplicate) Eek! goto?

??? - The vars don't need to be any more global than with the goto solution. The reverse 1..10 comes in handy seeing you can't have 10..1 which would be much prettier.

{ my $a; my $var = sub{ $a = 'OK?' }; &$var; print $a }

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print