Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
This is a short list of guidelines I've found useful when converting base classes into roles.
That last tip has led us to see tons of garbage which slipped into base classes because that was the only place we could easily see to wedge in this behavior.
great tips (Score:1)
Great tips! Thanks. I'm getting sold on roles-centric programming.
It would be great to have a index page somewhere of all your posts about roles.
Re: (Score:2)
If use.perl had tags, I would be adding a "roles" tag and merely clicking on that would give you what you want.
Re: (Score:1)
I created a page on the Perl 5 wiki called Roles Best Practices [perlfoundation.org]. Now anyone else interested can contribute.