in reply to Re: (boo)Re: Loop Control : REDO
in thread Loop Control : REDO

well, YES, that is true.
however, from perl's documentation on continue :
If there is a continue BLOCK attached to a BLOCK (typically in a while or foreach)...

which made me believe you could tack continues on to any block all willy nilly. This isn't the case, though.

Replies are listed 'Best First'.
Re: Re: Re: (boo)Re: Loop Control : REDO
by suaveant (Parson) on May 02, 2001 at 18:54 UTC
    Yeah... I think they just use foreach as a readability thing... but they are the exact same... I haven't used foreach since I saw that... so much extra typing :)
                    - Ant