6 foreach $foo ( @list ) {}
8 #-----------------------------------------------------------------------------
14 for my $foo ( @list ) {}
15 foreach my $foo ( @list ) {}
17 #-----------------------------------------------------------------------------
19 ## name Implicit $_ passes
26 #-----------------------------------------------------------------------------
28 ## name Other compounds
32 for ( $i=0; $i<10; $i++ ) {}
33 while ( $condition ) {}
34 until ( $condition ) {}
36 #-----------------------------------------------------------------------------
38 ##############################################################################
39 # $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/Perl-Critic/t/Variables/RequireLexicalLoopIterators.run $
40 # $Date: 2008-03-16 17:40:45 -0500 (Sun, 16 Mar 2008) $
41 # $Author: clonezone $
43 ##############################################################################
47 # cperl-indent-level: 4
49 # indent-tabs-mode: nil
50 # c-indentation-style: bsd
52 # ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :