]> Sergey Matveev's repositories - public-inbox.git/commit
t/convert-compact: avoid warning on `scalar(split(...))'
authorEric Wong <e@yhbt.net>
Fri, 1 May 2020 18:04:45 +0000 (18:04 +0000)
committerEric Wong <e@yhbt.net>
Sun, 3 May 2020 09:29:29 +0000 (09:29 +0000)
commitff53e6728ff67fef548f0f472c1918a00d7104f7
tree8d2393244771d1682ff247e852d83d9c91491643
parent85431deb9a346bc83a7f5e8e0f102e19dfa603a9
t/convert-compact: avoid warning on `scalar(split(...))'

Perl 5.10.1 would warn about implicit assignment to @_ by
split().  So favor the documented method of using `tr'
to count lines.

Fixes: b5ddcb3352ef31ae ("index: support --compact / -c on command-line")
t/convert-compact.t