sub split_to_n { my @return = map [], 1..shift; { for(@return) { return @return unless @_; push @$_, shift } redo } }
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: Filling buckets
by merlyn
in thread Filling buckets
by meonkeys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |