Subject: | t/70dancer2.t fails with older versions of Dancer installed |
t/00use.t .............
Perl 5.024003
Dancer2 version 0.166001
Log::Dispatch version 2.51
Log::Log4perl version 1.40
Mojolicious version 7.70
POSIX version 1.65_01
PPI version 1.236
Plack::Test version unknown
String::Print version 0.93
Sys::Syslog version 0.33_01
Test::Pod version 1.51
...
t/70dancer2.t ......... Dancer2 version 0.166001
syntax error at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 164, near "plugin_keywords fatal_handler"
Can't use global @_ in "my" at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 165, near "= @_"
Global symbol "$sub" requires explicit package name (did you forget to declare "my $sub"?) at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 166.
syntax error at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 167, near "}"
BEGIN not safe after errors--compilation aborted at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 176.
Compilation failed in require at t/70dancer2.t line 35.
BEGIN failed--compilation aborted at t/70dancer2.t line 35.
Show quoted text
Upgrading to Dancer2-0.207000 allowed the tests to succeed
Log::Report@1.26 was not affected by the version of Dancer2 installed
Perl 5.024003
Dancer2 version 0.166001
Log::Dispatch version 2.51
Log::Log4perl version 1.40
Mojolicious version 7.70
POSIX version 1.65_01
PPI version 1.236
Plack::Test version unknown
String::Print version 0.93
Sys::Syslog version 0.33_01
Test::Pod version 1.51
...
t/70dancer2.t ......... Dancer2 version 0.166001
syntax error at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 164, near "plugin_keywords fatal_handler"
Can't use global @_ in "my" at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 165, near "= @_"
Global symbol "$sub" requires explicit package name (did you forget to declare "my $sub"?) at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 166.
syntax error at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 167, near "}"
BEGIN not safe after errors--compilation aborted at /home/perl/.cpanm/work/1549175997.86578/Log-Report-1.27/blib/lib/Dancer2/Plugin/LogReport.pm line 176.
Compilation failed in require at t/70dancer2.t line 35.
BEGIN failed--compilation aborted at t/70dancer2.t line 35.
Show quoted text
# Looks like your test exited with 255 before it could output anything.
Upgrading to Dancer2-0.207000 allowed the tests to succeed
Log::Report@1.26 was not affected by the version of Dancer2 installed