Help for this page

Select Code to Download


  1. or download this
    use Class::Trait
        some_trait => { 
            exclude => [ "methods_I_dont_want" ]
        };
    
  2. or download this
    use Class::Trait
        some_trait => {
            alias => { old_name => 'new_name' }
        };
    
  3. or download this
    package SomeThingOrOther;
    use base qw/GirlFriend Bomb/;
    ...
    
  4. or download this
    use Class::Trait
        GirlFriend => { exclude => [ "explode" ] };
    use Class::Trait
        Bomb       => { exclude => [ "some_method_in_girlfriend" ] };
    
  5. or download this
    use Class::Trait 'TPrintable';
    use Class::Trait 'TId';