Subject: | Support multi "by" values with returned array ref |
It would be interesting if all of the by subroutines supported either a scalar returned value, OR an array ref of values.
For instance, partition_by:
[ $_->height, $_->weight ]
Could return something like
$hash{$weight}{$height} = $people; # people with $weight and $height
This may not make sense for all subroutines, but I think it could be useful.