hbradshaw has asked for the wisdom of the Perl Monks concerning the following question:
I don't know why.sub NEXTKEY{ my $self = shift; my $lastkey = shift; $key = $KEYS[$self->{INDEX}++]; next if($key eq $self->{FIRSTKEY}); return($key); }
Added code tags - dvergin 2002-11-23
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(bbfu) Re: Can't "next" outside a loop block
by bbfu (Curate) on Nov 23, 2002 at 20:50 UTC | |
|
Re: Can't "next" outside a loop block
by gjb (Vicar) on Nov 23, 2002 at 20:49 UTC | |
|
Re: Can't "next" outside a loop block
by tadman (Prior) on Nov 23, 2002 at 22:09 UTC | |
|
Re: Can't "next" outside a loop block
by theorbtwo (Prior) on Nov 23, 2002 at 22:32 UTC |