Move all of your lexicals into your object and write code like:
sub generate { my( $self )= @_; goto $self->{GOTO} if $self->{GOTO}; ... $self->{GOTO}= 'gnarfle'; return ...; gnarfle: ... }
- tye
In reply to Re: complex iterator needed (goto)
by tye
in thread complex iterator needed
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |