ralph wrote:
I worry that C<classify> sounds too much like
something class-related
'Classify' also seems wrong if some items are
thrown away. I like 'part':
(@foo,@bar) := part { ... } @source;
ralph and I don't often agree, but I certainly do in this case.
I like C<part> very much as a name for this built-in. Must be
the vaguely biblical association <image of Charlton Heston
with his staff raised high above an array> ;-)
Headed off in another direction, having a sub
distribute its results like this reminds me of:
... -> ...
Can arrays on the rhs of a -> ever mean
something useful?
Sure. It means that the key of the pair is an array reference.
Damian