perl自学小练习

[[email protected] perl]# cat rsort.pl     #!/usr/bin/perl     #sorting numbers with an unnamed subroutine     @numbers=<STDIN>;     chomp(@sorted_ns=sort{$a<=>$b}(@numbers));     print "the sorted nu
相关文章
相关标签/搜索