Re: How do you continue in a for loop?
- From: Paul Lalli <mritty@xxxxxxxxx>
- Date: Tue, 31 Jul 2007 11:45:47 -0700
On Jul 31, 2:30 pm, Thierry <lamthie...@xxxxxxxxx> wrote:
In other languages, the for loop has a continue statement feature to
skip an interation, how do you do it in perl?
Thierry
C++ 'continue' ==> Perl 'next'
C++ 'break' ==> Perl 'last'
C++ ???? ==> Perl 'redo' (restarts the current iteration)
Paul Lalli
.
- References:
- How do you continue in a for loop?
- From: Thierry
- How do you continue in a for loop?
- Prev by Date: Re: CGI displays contents of script
- Next by Date: Re: CGI displays contents of script
- Previous by thread: Re: How do you continue in a for loop?
- Next by thread: CGI displays contents of script
- Index(es):