Subject: | s///r does not work with older perls |
The test suite fails with older perls (5.12.5 and older):
...
Bareword found where operator expected at /home/slaven.rezic/.cpan/build/2018071117/Devel-MAT-0.35-3/blib/lib/Devel/MAT/Tool/Count.pm line 93, near "s/^Devel::MAT::SV:://r"
# Failed test 'use Devel::MAT::Tool::Count;'
# at t/00use.t line 20.
# Tried to use 'Devel::MAT::Tool::Count'.
# Error: syntax error at /home/slaven.rezic/.cpan/build/2018071117/Devel-MAT-0.35-3/blib/lib/Devel/MAT/Tool/Count.pm line 93, near "s/^Devel::MAT::SV:://r"
# Compilation failed in require at t/00use.t line 20.
# BEGIN failed--compilation aborted at t/00use.t line 20.
# Looks like you failed 1 test of 17.
t/00use.t ................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/17 subtests
...