Subject: | Moose compatibility |
Date: | Fri, 17 Jan 2014 12:39:13 +0100 (CET) |
To: | bug-AnyEvent-Subprocess [...] rt.cpan.org |
From: | Sami Makki <smakki [...] hedera-technology.com> |
Hello,
I'm using the AnyEvent:::Subprocess with Moose, and since this evolution (https://metacpan.org/pod/release/ETHER/Moose-2.1106-TRIAL/lib/Moose/Manual/Delta.pod#The-non-arrayref-forms-of-enum-and-duck_type-have-been-deprecated),an alert is generated from Types.pm (line 42).
"Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref."
The quickest fix is to add squared brackets,as suggested.
Regards,
Sami Makki