for my $rulefile (@rulefiles) { # ... } #### $ perl -e 'for my $i (1, 4, 3, 2) { print "$i\n"; }' 1 4 3 2 $