In perl.git, the branch smoke-me/yves-scalar_sort has been created
<http://perl5.git.perl.org/perl.git/commitdiff/127e2666037f860294ac582b497b2b2846ada680?hp=0000000000000000000000000000000000000000>
at 127e2666037f860294ac582b497b2b2846ada680 (commit)
- Log -----------------------------------------------------------------
commit 127e2666037f860294ac582b497b2b2846ada680
Author: Yves Orton <[email protected]>
Date: Mon Sep 22 17:42:30 2014 +0200
make sort in scalar context return the number of elements
This allows one to add a "sort" to a routine that returned an array,
or list of keys, and preserve the original meaning in scalar context,
but cause the returned values to be in sorted order.
-----------------------------------------------------------------------
--
Perl5 Master Repository