Subject: | Syntax error with perl 5.18 |
Perl 5.18 does not put implicit parentheses around qw operator anymore. That causes syntax error and the only test failure:
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t
t/compile.t .. 1/1
# Failed test 'use Kwiki::ModPerl;'
# at t/compile.t line 7.
# Tried to use 'Kwiki::ModPerl'.
# Error: syntax error at lib/Kwiki/ModPerl.pm line 12, near "->import qw(:common)"
# syntax error at lib/Kwiki/ModPerl.pm line 19, near "->import qw(:common)"
# BEGIN not safe after errors--compilation aborted at lib/Kwiki/ModPerl.pm line 26.
# Compilation failed in require at t/compile.t line 7.
# BEGIN failed--compilation aborted at t/compile.t line 7.
# Looks like you failed 1 test of 1.
t/compile.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests