in reply to Re: Quick Sort Question
in thread Quick Sort Question

I am getting an uninitialized value in join error if I try it the way you have it.

Replies are listed 'Best First'.
Re^3: Quick Sort Question
by almut (Canon) on Dec 09, 2009 at 21:01 UTC

    Try  @$_[ 2, 3, 0, 4 ]

    (the for loop aliases individual arrayrefs to the default variable $_, which you need to dereference and slice)

      Have not even input that yet, but that's it...instant flash back to unix class from a few years ago, thanks!
Re^3: Quick Sort Question
by zwon (Abbot) on Dec 09, 2009 at 21:03 UTC

    I warned that it's not tested, and the reason is that you didn't provide us with test input ;) I fixed the problem, that should be @$_[...] instead of @_[...]