How do you continue in a for loop?



In other languages, the for loop has a continue statement feature to
skip an interation, how do you do it in perl?

Thierry

.



Relevant Pages

  • Re: Need help understanding how a file input block works
    ... here is a section of the Perl code that I am having ... ^ says 'match if we are at the start of the string', ... 'next' is documented in perldoc perl, in the sextion "Loop Control". ... which will stop you from using globals by accident. ...
    (comp.lang.perl.misc)
  • Re: perl newbie: leaner code ideas
    ... > To learn Perl, I have written a bit of code that needs to do the following: ... Don't declare variables prematurely. ... if the foreach loop contriol variable has already been ... variable as a foreach loop contriol variable without an explicit "my". ...
    (comp.lang.perl)
  • Re: Noob! Help required and would be really appreciated!
    ... You've read 60% of "Learning Perl"? ... On finding the keyword "New Order", it has to start building a hash. ... want to build a loop around this hash creation. ... transferred to %allOrders. ...
    (comp.lang.perl.misc)
  • Re: Perl and Python, a practical side-by-side example.
    ... suggest a few minor edits to the Perl version. ... list then it's better to declare the variable directly in the loop ... for my $piid ){ ... #If the current record is the correct state ...
    (perl.beginners)
  • Re: Kqueue
    ... > In the case of kqueue(), you are either blocking or timing out on ... usually in a tight loop. ... Perl is simply not suited to this ...
    (comp.lang.perl.modules)