@k = sort @k gets optimized by the interpreter into an inplace operation.
When did that make it into the release? Cos everytime it comes up here, I try it out and it doesn't seem to work. (And my attempt to search for the release info fail.)
For now, Sort::Key::_sort_inplace() will do me fine.
In reply to Re^4: In-place sort with order assignment
by BrowserUk
in thread In-place sort with order assignment
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |