Shell----chomp的使用介绍

例子:shell #!/bin/perl print "Please input an string and a number by order!\n";  $the_string=<>;  $the_numb=<>;  print "The result is \n";  print "$the_string"x"$the_numb"; 结果: The result is   my  m
相关文章
相关标签/搜索