1 2 3 4 5 6 7 8 9 10
package Moose::Meta::Attribute::Custom::Bar; sub register_implementation { 'My::Bar' } package My::Bar; use Moose::Role; 1;