Refer to the perlsyn documentation. The 'for' syntax for a loop is as in C 'for': for (EXPRESSION; EXPRESSION; EXPRESSION) { } The 'foreach' syntax for a loop is as in shell 'foreach': foreach (LIST) { } 'for' and 'foreach' are synonyms in Perl, so which style of loop you have depends on what is between the parentheses. Ronald ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org