Subject: | qw without parentheses |
Compilation of t/lib/Test/Data/Visitor/Encode.pm fails since perl 5.17:
syntax error at t/lib/Test/Data/Visitor/Encode.pm line 14, near "$method qw(decode_ok encode_ok decode_utf8_ok encode_utf8_ok utf8_on_ok utf8_off_ok)"
Global symbol "$method" requires explicit package name (did you forget to declare "my $method"?) at t/lib/Test/Data/Visitor/Encode.pm line 16.
Global symbol "$method" requires explicit package name (did you forget to declare "my $method"?) at t/lib/Test/Data/Visitor/Encode.pm line 16.
syntax error at t/lib/Test/Data/Visitor/Encode.pm line 18, near "}"
Can't use global @_ in "my" at t/lib/Test/Data/Visitor/Encode.pm line 21, near "= @_"
Global symbol "$enc" requires explicit package name (did you forget to declare "my $enc"?) at t/lib/Test/Data/Visitor/Encode.pm line 25.
Global symbol "$data" requires explicit package name (did you forget to declare "my $data"?) at t/lib/Test/Data/Visitor/Encode.pm line 25.
Type of arg 1 to Test::Exception::lives_ok must be block or sub {} (not reference constructor) at t/lib/Test/Data/Visitor/Encode.pm line 26, near ""encode() doesn't croak";"
Type of arg 1 to Test::Exception::lives_ok must be block or sub {} (not reference constructor) at t/lib/Test/Data/Visitor/Encode.pm line 41, near ")
;"
syntax error at t/lib/Test/Data/Visitor/Encode.pm line 44, near "}"
t/lib/Test/Data/Visitor/Encode.pm has too many errors.
Compilation failed in require at t/02-utf8_on_off.t line 5.
BEGIN failed--compilation aborted at t/02-utf8_on_off.t line 5.