Help for this page
my $sum = 0; for (my $i = 0; $i <= $num; $i++) { ... foreach my $i (0 .. $num) { $sum += $i; }