print ++$i , " "  while $i < 10; # Alternative 1

#print "$i " while $i++ < 10; # Alternative 2
