git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
termcol: distinguish separate tbody for shiar32 greyscale rows
[sheet.git]
/
browser.plp
diff --git
a/browser.plp
b/browser.plp
index 421d9eff7aaa0d1a930c173b2cac2628282970d2..c890052b866f8e85f7a80f424a8b78755c7bf88a 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-455,9
+455,9
@@
say '</table>';
sub paddedver {
# normalised version number comparable as string (cmp)
sub paddedver {
# normalised version number comparable as string (cmp)
-
shift =~
/(?:.*-|^)(\d*)(.*)/;
+
$_[0] =~ m
/(?:.*-|^)(\d*)(.*)/;
# matched (major)(.minor) of last value in range (a-B)
# matched (major)(.minor) of last value in range (a-B)
- return sprintf('%02d',
$1 ||
99) . $2;
+ return sprintf('%02d',
length $1 ? $1 :
99) . $2;
}
sub showversions {
}
sub showversions {