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} }, ...
In reply to Re: RFC: Array::GroupBy
by Jenda
in thread RFC: Array::GroupBy
by kyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |