Help for this page

Select Code to Download


  1. or download this
    $multiple   = floor($multiple); #round down to int    } else {
    
  2. or download this
    ...
            $multiple = $length / $number;
    ...
            $multiple = $length;
        }
    ...
    
  3. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    my $ret = split_Slices(\@stuff, $len, 0);
    use Data::Dumper;
    print Dumper($ret);
    
  4. or download this
    ./slicer 10
    $VAR1 = [
    ...
                'end' => 100
              }
            ];
    
  5. or download this
    ./slicer 5
    $VAR1 = [
    ...
                'end' => 101
              }
            ];