On 2013-11-22 21:28:14, upasna.shukla@gmail.com wrote:
Show quoted text> We recently changed the syntax of enum declarations in Moose types. It
> appears that your module is affected. You can read more about the
> change here:
https://metacpan.org/pod/release/ETHER/Moose-2.1106-
> TRIAL/lib/Moose/Manual/Delta.pod#pod2.1200
> We recommend that you take a look at your code to see if it indeed
> does need to be updated with respect to the latest Moose release,
> 2.1106-TRIAL. If you have any questions, then please ask either on
> Moose mailing list :
http://lists.perl.org/list/moose.html or on
> #moose & #moose-dev on irc.perl.org.
Test errors:
...
PERL_DL_NONLAZY=1 "/opt/perl-5.24.1t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# oh look a warning: Smartmatch is experimental at /home/cpansand/.cpan/build/2017051506/XML-SRS-0.09-2/blib/lib/XML/SRS/Types.pm line 103.
# oh look a warning: Smartmatch is experimental at /home/cpansand/.cpan/build/2017051506/XML-SRS-0.09-2/blib/lib/XML/SRS/Types.pm line 117.
# oh look a warning: Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. at /opt/perl-5.24.1t/lib/site_perl/5.24.1/x86_64-linux-thread-multi/Moose/Util/TypeConstraints.pm line 437.
Moose::Util::TypeConstraints::enum("XML::SRS::DomainWriteAction", "DomainCreate", "DomainUpdate") called at /home/cpansand/.cpan/build/2017051506/XML-SRS-0.09-2/blib/lib/XML/SRS/Types.pm line 119
require XML/SRS/Types.pm called at t/00-load.t line 58
main::BEGIN() called at /home/cpansand/.cpan/build/2017051506/XML-SRS-0.09-2/blib/lib/XML/SRS/Types.pm line 0
eval {...} called at /home/cpansand/.cpan/build/2017051506/XML-SRS-0.09-2/blib/lib/XML/SRS/Types.pm line 0
eval 'package main;
BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] }
#line 58 t/00-load.t
use XML::SRS::Types @{$args[0]};
1;
' called at /opt/perl-5.24.1t/lib/site_perl/5.24.1/Test/More.pm line 1032
Test::More::_eval("package main;\x{a}BEGIN { \${^WARNING_BITS} = \$args[-1] if defined"..., ARRAY(0xee5428), "UUUUUUUUUUUUUUUUU\x{15}") called at /opt/perl-5.24.1t/lib/site_perl/5.24.1/Test/More.pm line 1007
Test::More::use_ok("XML::SRS::Types") called at t/00-load.t line 58
... (etc.) ...