I was just sent a tarball from Roman Daniel. He fixed a heretofore unknown bug in Class::Trait whereby the class could not be profiled with Devel::DProf. I made one quick tweak to allow $class->does($class) to return true and uploaded the tarball.
0.21 Sep. 12, 2006
- Converted Class::Trait::Config methods to be normal getter/setters, not
lvalue methods. lvalue methods prevent the code from being profiled
via Devel::DProf. Bug reported by Roman Daniel. He also rewrote it to
fix the problem.
- Fixed bug where classes would report false for $class->does($class).
Reported by chromatic.
Though you might not hear much about it, this is probably the module I get the most email about. Apparently, it's being used in production much more widely than I ever dreamed of.
See chromatic's review for a gentle introduction to traits (known as 'roles' in Perl 6).