Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 91966
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: enum warning
Date: Thu, 9 Jan 2014 12:56:47 +0000
To: bug-HTML-FormHandler [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
With Moose-2.1200, HTML-FormHandler's test suite generates a warning: Passing a list of values to enum is deprecated. Enum values should be wrapped in an arrayref. at /opt/perl-5.18.2/lib/site_perl/5.18.2/x86_64-linux-ld/Moose/Util/TypeConstraints.pm line 445. Moose::Util::TypeConstraints::enum("RGBColors", "red", "green", "blue") called at t/validation/constraints.t line 37 The line in question is enum 'RGBColors' => qw(red green blue); and should now be enum 'RGBColors' => [qw(red green blue)]; -zefram
Created a pull request to fix this on the preferred bug tracker: https://github.com/gshank/html-formhandler/pull/64 Cheers, ZZ
Fixed a while ago.