for

for(my $i=0;$i<10;$i++){
    print $i;
}

 

foreach

foreach my $col_id (sort {$a<=>$b;} keys %col_hash){
    print $col_hash{$col_id};
}

 

 

while

相关文章:

  • 2021-04-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2022-12-23
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2021-06-07
  • 2021-12-15
  • 2021-07-27
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案