Yes, roles will be part of the standard Perl library.
One benefit of roles that you do not mention (and, to me, the largest benefit) is that they're less restrictive than inheritance (and work better with prototyping). does() doesn't enforce how a class fulfills a role. isa() does.
In reply to Re: Will role-based programming be part of the standard Perl 6 distribution?
by chromatic
in thread Will role-based programming be part of the standard Perl 6 distribution?
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |