Help for this page

Select Code to Download


  1. or download this
    sub qs {
        return @_ if @_ < 2;
        my $p = pop;
        qs(grep $_ < $p, @_), $p, qs(grep $_ >= $p, @_);
    }