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
相關文章
相關標籤/搜索