ProAnswers.org

How to write for loop in perl?

1 Like

It is similar to C in perl.

for ($count = 1; $count < 10; $count++)
{
print "$count ";
}