[ create a new paste ] login | about

Link: http://codepad.org/Fvhcf3eP    [ raw code | output | fork ]

Perl, pasted on Jun 23:
1
2
3
4
5
6
7
use warnings;

my @a = (1, 11, 3, 5, 21, 9, 10);

my @b = sort @a;

print "@b";


Output:
1
1 10 11 21 3 5 9


Create a new paste based on this one


Comments: