Skip Menu |

This queue is for tickets about the WiX3 CPAN distribution.

Report information
The Basics
Id: 92397
Status: open
Priority: 0/
Queue: WiX3

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

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



Subject: [PATCH] Moose enum Warnings
Hey, Attached patch fixes the warnings produced by the change to the way enum should be called. Below is a blurb the Moose guys have been distributing. --- 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. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Subject: WiX3.patch
diff -r e0ad63499f31 lib/WiX3/Types.pm --- a/lib/WiX3/Types.pm Sun Jun 05 10:18:05 2011 -0600 +++ b/lib/WiX3/Types.pm Wed Jan 22 20:52:09 2014 -0500 @@ -33,18 +33,18 @@ "$_ is not a valid hostname"; }; -enum EnumRemoveFolderOn, qw( install uninstall both ); +enum EnumRemoveFolderOn, [qw( install uninstall both )]; -enum EnumEnvironmentAction, qw( create set remove ); +enum EnumEnvironmentAction, [qw( create set remove )]; -enum EnumRegistryKeyAction, qw( create createAndRemoveOnUninstall none ); +enum EnumRegistryKeyAction, [qw( create createAndRemoveOnUninstall none )]; -enum EnumRegistryRootType, qw( HKMU HKCR HKCU HKLM HKU ); +enum EnumRegistryRootType, [qw( HKMU HKCR HKCU HKLM HKU )]; enum EnumRegistryValueType, - qw( string integer binary expandable multiString ); + [qw( string integer binary expandable multiString )]; -enum EnumRegistryValueAction, qw( append prepend write ); +enum EnumRegistryValueAction, [qw( append prepend write )]; subtype IsTag, as role_type 'WiX3::XML::Role::Tag';