perl for 循环格式

for ($i = 1;$i <= 10;$i++){ #从1数到10
  print "I can count to $i!
";
}

原文地址:https://www.cnblogs.com/hzcya1995/p/13352070.html