On Fri, Aug 20, 2004 at 09:18:06AM -0500, Jonathan Scott Duff wrote: : Whither REDO {...} ? Or do we just manufacture that ourselves with : NEXT?
Hmm, well, you can view C<redo> as just a C<goto TOP> in disguise, or as a C<next> that suppresses the "while" check. But I think it's seldom enough used that it doesn't rate the mindspace of a REDO. Very few blocks would have multiple C<redo>s, and that's the only reason you might want a REDO block. In contrast, many blocks have multiple explicit C<next>s, as well as the implicit "next" of falling out the bottom of the loop. Larry