Skip Menu |

This queue is for tickets about the Nagios-Plugin-OverHTTP CPAN distribution.

Report information
The Basics
Id: 129252
Status: new
Priority: 0/
Queue: Nagios-Plugin-OverHTTP

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.16
Fixed in: (no value)



Subject: Passing a list of values to enum is deprecated
While running the test suite a Moose deprecation warning appears: ... PERL_DL_NONLAZY=1 "/usr/perl5.28.2-RC1p/bin/perl5.28.2" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/middleware/*.t Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP/Library.pm line 63. require Nagios/Plugin/OverHTTP/Library.pm called at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP.pm line 19 Nagios::Plugin::OverHTTP::BEGIN() called at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP/Library.pm line 0 eval {...} called at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP/Library.pm line 0 require Nagios/Plugin/OverHTTP.pm called at t/00-load.t line 43 main::BEGIN() called at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP/Library.pm line 0 eval {...} called at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP/Library.pm line 0 eval 'package main; BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] } #line 43 t/00-load.t use Nagios::Plugin::OverHTTP @{$args[0]}; 1; ' called at /usr/perl5.28.2-RC1p/lib/site_perl/5.28.2/Test/More.pm line 1034 Test::More::_eval("package main;\x{a}BEGIN { \${^WARNING_BITS} = \$args[-1] if defined"..., ARRAY(0x41a94c90), "UUUUUUUUUUUUUUUUUU") called at /usr/perl5.28.2-RC1p/lib/site_perl/5.28.2/Test/More.pm line 1009 Test::More::use_ok("Nagios::Plugin::OverHTTP") called at t/00-load.t line 43 main::BEGIN() called at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP/Library.pm line 0 eval {...} called at /usr/home/cpansand/.cpan/build/2019042005/Nagios-Plugin-OverHTTP-0.16-0/blib/lib/Nagios/Plugin/OverHTTP/Library.pm line 0 # Perl 5.028002 # Moose 2.2011 # Class::MOP 2.2011 ... (etc) ...