Skip to main content
You can use a for loop to count from zero to nine.
for
A more perlish solution:
for (0..9){ print "$_\n"; }
test text