Help for this page

Select Code to Download


  1. or download this
      my $class = Class->with_traits('Role')->new( foo => 42 );
    
  2. or download this
    my $namespace = $class->meta->find_attribute_by_name('_trait_namespace
    +');
    ... $namespace->default ...