+ - abbreviate class names from created by create_class_with_roles if they are
+ too long for perl to handle (RT#83248)
- prevent destructors from failing in global destruction for certain
combinations of Moo and Moose classes subclassing each other (RT#87810)
- clarify in docs that Sub::Quote's captured variables are copies, not aliases
'Class::Method::Modifiers' => 1.10, # or RT#80194
'strictures' => 1.004003,
'Module::Runtime' => 0.012, # for RT#74789
- 'Role::Tiny' => 1.003000,
+ 'Role::Tiny' => 1.003002,
'Devel::GlobalDestruction' => 0.11, # for RT#78617
'Dist::CheckConflicts' => 0.02,
);
sub create_class_with_roles {
my ($me, $superclass, @roles) = @_;
- my $new_name = join(
- '__WITH__', $superclass, my $compose_name = join '__AND__', @roles
- );
+ my ($new_name, $compose_name) = $me->_composite_name($superclass, @roles);
return $new_name if $Role::Tiny::COMPOSED{class}{$new_name};