In perl.git, the branch smoke-me/yves-scalar_sort has been created
<http://perl5.git.perl.org/perl.git/commitdiff/59cf203f810b52d40552961e7fbb1cab9cdde22a?hp=0000000000000000000000000000000000000000>
at 59cf203f810b52d40552961e7fbb1cab9cdde22a (commit)
- Log -----------------------------------------------------------------
commit 59cf203f810b52d40552961e7fbb1cab9cdde22a
Author: Yves Orton <[email protected]>
Date: Fri Feb 22 14:03:22 2013 +0100
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