Did you try?
perl -e 'my $ar = join( ",",sort(1,5,2,3,4) );print "[$ar];\n";'
A lot less code and it's 100% perl!
"Well done is better than well said." - Benjamin Franklin
In reply to Re: quicksort implementation
by flexvault
in thread quicksort implementation
by ram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |