...And when @sorted goes out of scope, I'll have returned a reference to an anonymous array - but that is so ugly! Is there a quick and lovely way to write it in a single expression?my @sorted = sort @stuff; return \@sorted;
In reply to Reference to sort results by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |