in reply to Quicksort trubbles.
Try implementing it with your recursive function being passed an arrayref and a beginning and ending index to sort.