sub blessed_hashref { my $state = bless { %args }, 'Foo'; }
You are not checking arguments here. In definition of MooseState you specified things like isa => 'Int', so constructor checks arguments. You're testing constructions which are not functionally equal. Remove these isa or add checks to blessed_hashref to get something that makes sense.
In reply to Re: The speed of blessed hashrefs, the power of Moose - how to get both?
by zwon
in thread The speed of blessed hashrefs, the power of Moose - how to get both?
by jdrago999
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |