use Carp 'confess';
use Scalar::Util 'blessed', 'weaken';
-our $VERSION = '0.65';
+our $VERSION = '0.70_01';
+$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use base 'Class::MOP::Object';
confess("A required attribute must have either 'init_arg', 'builder', or 'default'");
}
- $class->_new(%options);
+ $class->_new(\%options);
}
sub _new {
}
sub is_default_a_coderef {
- ('CODE' eq ref($_[0]->{'default'} || $_[0]->{default}))
+ ('CODE' eq ref($_[0]->{'default'}))
}
sub default {