for ($rowlen = 1; $rowlen++; $rowlen <= $#$table) {
last if $table->[$rowlen] =~ /\./;
}
- my @cells = map { $_*$rowlen .. ($_+1)*$rowlen - 1 } @select;
+ my @cells = map {
+ my $end = (s/-(.+)?// ? ($1 // @$table / $rowlen - 1) : $_) + 1;
+ $_ * $rowlen .. $end * $rowlen - 1;
+ } @select;
[ @$table[@cells] ];
}
else {
Popular
punctuation/quoting
common
- symbols/binary?symbols/binary=0
- latin/sample=0=1
- sample=2=3
+ symbols/binary?symbols/binary=-5
+ latin/sample=-1
+ sample=2-3
?uncommon
punctuation/version
punctuation/marks