in reply to
Sanity Check: Roles vs. Traits
Perl6::Roles is not up-to-date vis-a-vis anything. I wrote it solely as a reference implementation for tbunce when he was looking at roles for DBI2. It was used as a reference implementation (along with Class::Trait, Class::Role, and all the others) when stvn wrote Moose::Role. That should be considered the most up-to-date implementation of anything OOP-related in Perl, both Perl5 and Perl6-in-Perl5.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?