Reference for loop control variable : For « Statement « Perl
- Perl
- Statement
- For
Reference for loop control variable
for ($loop_index = 1; $loop_index <= 10; $loop_index++) {
print "This is iteration number $loop_index\n";
}
Related examples in the same category