in reply to Split array into smaller arrays by total of element values

For a more thorough implementation, see Algorithm::Bucketizer.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Split array into smaller arrays by total of element values

Replies are listed 'Best First'.
Re: •Re: Split array into smaller arrays by total of element values
by shotgunefx (Parson) on Jun 11, 2003 at 09:33 UTC
    I figured there would be something on CPAN. I just want something quick that would have minimal impact on an exisiting application without adding another dependency.

    I didn't even think about all the other uses the docs suggest. I find it odd that I too named it after a bucket. I had a hard time naming the sub. I didn't know a formal name for the problem and "buckets" just made the most sense.

    -Lee

    "To be civilized is to deny one's nature."