Revision history for Perl extension Class-MOP.
+0.45
+ * Class::MOP::Attribute
+ - Fix error message on confess (groditi)
+
0.44 Thurs. Nov. 13, 2007
- Apparently I didn't make dist correctly (groditi)
use Carp 'confess';
use Scalar::Util 'blessed', 'reftype', 'weaken';
-our $VERSION = '0.16';
+our $VERSION = '0.17';
our $AUTHORITY = 'cpan:STEVAN';
use base 'Class::MOP::Object';
if($builder = $instance->can($builder) ){
$meta_instance->set_slot_value($instance, $self->name, $instance->$builder);
} else {
- confess(blessed($instance)." does not support builder method '$builder' for attribute '" . $self->name . "'");
+ confess(blessed($instance)." does not support builder method '". $self->{'$!builder'} ."' for attribute '" . $self->name . "'");
}
}
}