Subject: | Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. |
perl -MMooseX::Types::ElasticSearch -E1
Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. at -e line 0.
main::BEGIN() called at /home/kent/perl5/perlbrew/perls/perl-5.19.5/lib/site_perl/5.19.5/MooseX/Types/ElasticSearch.pm line 0
eval {...} called at /home/kent/perl5/perlbrew/perls/perl-5.19.5/lib/site_perl/5.19.5/MooseX/Types/ElasticSearch.pm line 0
This is a result of upgrading MooseX::Types
https://metacpan.org/source/ETHER/MooseX-Types-0.38/Changes#L3
And this causes ElasticSearchX::Model to fail :
http://www.cpantesters.org/cpan/report/55fe1a68-52d8-11e3-b966-e767b3208197