Subject: | Fails with perl 5.8.x |
For example, with 5.8.8:
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10type.......ok
t/11typeol.....ok
t/20types......Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171.
Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171.
Backslash found where operator expected at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
(Might be a runaway multi-line // string starting on line 171)
(Missing operator before \?)
Use of $# is deprecated at lib/MIME/Types.pm line 184.
String found where operator expected at lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '"
(Might be a runaway multi-line '' string starting on line 186)
Global symbol "$q" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$match" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171.
syntax error at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
Global symbol "$m" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
lib/MIME/Types.pm has too many errors.
Compilation failed in require at t/20types.t line 13.
BEGIN failed--compilation aborted at t/20types.t line 13.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-36
Failed 36/36 tests, 0.00% okay
t/21accept.....Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171.
Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171.
Backslash found where operator expected at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
(Might be a runaway multi-line // string starting on line 171)
(Missing operator before \?)
Use of $# is deprecated at lib/MIME/Types.pm line 184.
String found where operator expected at lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '"
(Might be a runaway multi-line '' string starting on line 186)
Global symbol "$q" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$match" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171.
syntax error at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
Global symbol "$m" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
lib/MIME/Types.pm has too many errors.
Compilation failed in require at t/21accept.t line 13.
BEGIN failed--compilation aborted at t/21accept.t line 13.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/22accbest....Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171.
Possible unintended interpolation of @accept in string at lib/MIME/Types.pm line 171.
Backslash found where operator expected at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
(Might be a runaway multi-line // string starting on line 171)
(Missing operator before \?)
Use of $# is deprecated at lib/MIME/Types.pm line 184.
String found where operator expected at lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '"
(Might be a runaway multi-line '' string starting on line 186)
Global symbol "$q" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$match" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 171.
syntax error at lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
Global symbol "$m" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at lib/MIME/Types.pm line 184.
lib/MIME/Types.pm has too many errors.
Compilation failed in require at t/22accbest.t line 13.
BEGIN failed--compilation aborted at t/22accbest.t line 13.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-25
Failed 25/25 tests, 0.00% okay
t/30export.....Possible unintended interpolation of @accept in string at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
Possible unintended interpolation of @accept in string at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
Backslash found where operator expected at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
(Might be a runaway multi-line // string starting on line 171)
(Missing operator before \?)
Use of $# is deprecated at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184.
String found where operator expected at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 197, near "my $fns = !@_ ? return () : ref $_[0] eq '"
(Might be a runaway multi-line '' string starting on line 186)
Global symbol "$q" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
Global symbol "$match" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
Global symbol "@accept" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 171.
syntax error at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184, near "{ $acc =~ s/\"
Global symbol "$m" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184.
Global symbol "$acc" requires explicit package name at /builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm line 184.
/builddir/build/BUILD/MIME-Types-2.08/blib/lib/MIME/Types.pm has too many errors.
Compilation failed in require at t/30export.t line 14.
BEGIN failed--compilation aborted at t/30export.t line 14.
# Looks like your test died before it could output anything.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-40
Failed 40/40 tests, 0.00% okay
t/40mojo.......skipped
all skipped: Mojo probably not installed
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/20types.t 255 65280 36 72 200.00% 1-36
t/21accept.t 255 65280 9 18 200.00% 1-9
t/22accbest.t 255 65280 25 50 200.00% 1-25
t/30export.t 255 65280 40 80 200.00% 1-40
1 test skipped.
Failed 4/7 test scripts, 42.86% okay. 110/156 subtests failed, 29.49% okay.
make: *** [test_dynamic] Error 255
I don't know if you're still interested in supporting 5.8, but if not it would be good to state an explicit 5.10 dependency.