Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the helm CPAN distribution.

Report information
The Basics
Id: 90664
Status: open
Priority: 0/
Queue: helm

Owner: Nobody in particular
Requestors: upasna.shukla [...]

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

Subject: New Moose may break your code
Date: Sat, 23 Nov 2013 07:57:49 +0530
To: bug-helm [...]
From: "Upasana Shukla" <upasna.shukla [...]>
Download (untitled) / with headers
text/plain 547b
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: 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 : or on #moose & #moose-dev on
Attached patch fixes this issue. -- Cheers, ZZ [ ]
Subject: helm.moose.enum.patch
diff -Naur helm-0.4_orig/lib/Helm/ helm-0.4/lib/Helm/ --- helm-0.4_orig/lib/Helm/ 2014-01-21 21:11:02.628527036 -0500 +++ helm-0.4/lib/Helm/ 2014-01-21 21:11:37.632527494 -0500 @@ -5,7 +5,7 @@ use Moose::Util::TypeConstraints qw(enum); use namespace::autoclean; -enum LOG_LEVEL => qw(debug info warn error); +enum LOG_LEVEL => [qw(debug info warn error)]; has channels => ( is => 'ro', writer => '_channels', diff -Naur helm-0.4_orig/lib/ helm-0.4/lib/ --- helm-0.4_orig/lib/ 2014-01-21 21:11:02.628527036 -0500 +++ helm-0.4/lib/ 2014-01-21 21:11:26.028527342 -0500 @@ -23,8 +23,8 @@ our $DEBUG_LOG; our $DEBUG_LOG_PID; -enum LOG_LEVEL => qw(debug info warn error); -enum LOCK_TYPE => qw(none local remote both); +enum LOG_LEVEL => [qw(debug info warn error)]; +enum LOCK_TYPE => [qw(none local remote both)]; has task => (is => 'ro', writer => '_task', required => 1); has user => (is => 'ro', writer => '_user', isa => 'Maybe[Str]');

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to