Help for this page

Select Code to Download


  1. or download this
    sub apportion {
      my ($elements, $pieces) = @_;
    ...
      print "Sizes: ", join(', ', apportion(@$try)), "\n";
      print "@$_\n" for multi_slice([1..$try->[0]], apportion(@$try));
    }