in reply to Re: I need a different continuein thread I need a different continue
{ my $todo; foreach my $elt (0..2 ) { $todo->() if $todo; $todo = sub { print "$elt\n" }; } } [download]