Class::Plain supports Role using Role::Tiny
use Class::Plain;
role Some::Role {
method foo { ... }
method bar { ... }
}
class Some::Class : does(Some::Role) {
method foo { ... }
# baz is wrapped in the …
use Class::Plain;
role Some::Role {
method foo { ... }
method bar { ... }
}
class Some::Class : does(Some::Role) {
method foo { ... }
# baz is wrapped in the …
I'm Perl Programmer. I LOVE Perl. I want to contribute Perl community and Perl users.