there's no reason the suffix has to be fixed length
[gitmo/Moose.git] / lib / Moose / Meta / TypeConstraint / Enum.pm
index 4dfc8ce..2e19a57 100644 (file)
@@ -26,8 +26,7 @@ my $inliner = sub {
              . '&& $' . $self->_inline_var_name . '{' . $val . '}';
 };
 
-# a quadrillion enums ought to be enough for any app
-my $var_suffix = '000000000000000000';
+my $var_suffix = 0;
 
 sub new {
     my ( $class, %args ) = @_;