Subject: | Tests fail below perl 5.13.2, 5.12 |
Some of the scripts, called by the tests, use the s///r syntax that was added
in perl 5.13.2:
# Failed test 'blib/script/byte2uni compiles'
# at t/compile.t line 22.
# 'Bareword found where operator expected at blib/script/byte2uni line 238, near "s/ /_/rg"
# Unknown charname 'ALERT' at blib/script/byte2uni line 306.
# Can't modify non-lvalue subroutine call in substitution (s///) at blib/script/byte2uni line 238, near "s/ /_/rg"
# syntax error at blib/script/byte2uni line 238, near "s/ /_/rg"
# blib/script/byte2uni had compilation errors.
# '
# doesn't match '(?i-xsm:syntax OK)'
And some other scripts explicitly require 5.12:
# Failed test 'blib/script/FixString.pm compiles'
# at t/compile.t line 22.
# 'Perl v5.12.0 required--this is only v5.10.1, stopped at blib/script/FixString.pm line 9.
# BEGIN failed--compilation aborted at blib/script/FixString.pm line 9.
# '
# doesn't match '(?i-xsm:syntax OK)'
t/compile.t is the only test that fails, so it should be sufficient to have a list of scripts to skip depending on the version of perl being tested against.
(A cpantesters report should be flying your way through the usual means shortly.)