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