git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ec34f7
)
browser: replace remaining smart-match operator
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 10 Sep 2024 21:18:20 +0000
(23:18 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 10 Sep 2024 21:25:36 +0000
(23:25 +0200)
Equivalent without perl warning since
v1.19-30-gee5b8a7f10
(2024-09-02)
[replace smartmatch by equivalent syntax].
browser.plp
patch
|
blob
|
history
diff --git
a/browser.plp
b/browser.plp
index fe96312f6d74afcab57c1598be1e6177a8006689..a100bcb3923a6b4f69f3c597e1f054620412beaa 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-390,7
+390,7
@@
sub saybrowsercols {
// $prev # inherit from predecessor
|| 'u' # unsure
);
- if (defined $prev and not
$prev ~~ $compare
) {
+ if (defined $prev and not
(defined $compare and $prev eq $compare)
) {
# different columns
my @vercover = (map { @{$_} } @span); # accumulated conforming versions
for ($ver ? @{$ver} : ()) {