in reply to complex iterator needed
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: complex iterator needed (goto)
by Tommy (Chaplain) on Feb 01, 2004 at 02:32 UTC | |
by Anonymous Monk on Feb 01, 2004 at 04:01 UTC |