in reply to The speed of blessed hashrefs, the power of Moose - how to get both?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The speed of blessed hashrefs, the power of Moose - how to get both?
by dynamo (Chaplain) on Nov 20, 2011 at 19:55 UTC | |
by ForgotPasswordAgain (Vicar) on Nov 23, 2011 at 23:55 UTC |