- fix up Class::XSAccessor version check to be more robust
- improved documentation
+ - fix failures on perls < 5.8.3
0.009012 - 2011-11-15
- make Method::Generate::Constructor handle $obj->new
eval { Scalar::Util::weaken($simple); 1 } or do {
if( \$@ =~ /Modification of a read-only value attempted/) {
- { local $@; require Carp; }
+ { local \$@; require Carp; }
Carp::croak( sprintf (
'Reference to readonly value in "%s" can not be weakened on Perl < 5.8.3',
$name_str,
{
no strict 'refs';
@{"${target}::ISA"} = do {
- {; local $@; require Moo::Object; } ('Moo::Object');
+ { local $@; require Moo::Object; } ('Moo::Object');
} unless @{"${target}::ISA"};
}
}