use Scalar::Util 'blessed', 'weaken';
use overload ();
-our $VERSION = '0.66';
+our $VERSION = '0.71_01';
our $AUTHORITY = 'cpan:STEVAN';
use Moose::Meta::Method::Accessor;
}
if ($self->has_trigger) {
- $self->trigger->($instance, $value, $self);
+ $self->trigger->($instance, $value);
}
}
=item B<set_value>
- eval { $point->meta->get_attribute('x')->set_value($point, 'fourty-two') };
+ eval { $point->meta->get_attribute('x')->set_value($point, 'forty-two') };
if($@) {
print "Oops: $@\n";
}
-I<Attribute (x) does not pass the type constraint (Int) with 'fourty-two'>
+I<Attribute (x) does not pass the type constraint (Int) with 'forty-two'>
Before setting the value, a check is made on the type constraint of
the attribute, if it has one, to see if the value passes it. If the