The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.20

  • Added ability to apply traits at runtime to instances and classes
  • Changed 'die' to 'croak'
  • Renumbered tests.
  • Made most private subs in Class::Trait begin with an underscore.
  • Eliminated subtle bug where reusing a trait with excluded methods could fail. It doubtful anyone would ever encounter this, but still ...

Modules

An implementation of Traits in Perl
Base class for all Traits
Trait configuration information storage package.
Trait for adding comparison abilities to your object
Trait for adding equality testing to your object
Trait for adding stringification abilities to your object
Reflection class used to find information about classes which use Traits.