|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Quicksort problemby ansh batra (Friar) |
| on Nov 22, 2011 at 06:14 UTC ( #939373=note: print w/ replies, xml ) | Need Help?? |
|
$#arr returns the index of the last element of @arr. so if @arr contains 1 element then its index will be 0 i.e < 1
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||