projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
there's no reason the suffix has to be fixed length
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
TypeConstraint
/
Enum.pm
diff --git
a/lib/Moose/Meta/TypeConstraint/Enum.pm
b/lib/Moose/Meta/TypeConstraint/Enum.pm
index
4dfc8ce
..
2e19a57
100644
(file)
--- a/
lib/Moose/Meta/TypeConstraint/Enum.pm
+++ b/
lib/Moose/Meta/TypeConstraint/Enum.pm
@@
-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 ) = @_;