in reply to RFC: Array::GroupBy
I do not see a reason to disallow empty group_by.
What about passing the whole records to the custom (code reference) agregators for some specially named group_how options? Eg.
producing a new attribute named 'foo' in the resulting records.... group_how => { '&foo' => sub { my ( $result, $rec) = @_; return $result + $rec->{a} * $rec->{b} }, ...
|
|---|