Filewatcher File Search File Search
Catalog
Content Search
» » » » »

MooseX-Traits-0.10.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:MooseX-Traits-0.10.tar.gz

/MooseX-Traits-0.10/README

NAME
    MooseX::Traits - automatically apply roles at object creation time

SYNOPSIS
    Given some roles:

      package Role;
      use Moose::Role;
      has foo => ( is => 'ro', isa => 'Int' required => 1 );

    And a class:

      package Class;
      use Moose;
      with 'MooseX::Traits';

    Apply the roles to the class at "new" time:

      my $class = Class->with_traits('Role')->new( 
more»

/MooseX-Traits-0.10/Changes

0.10   Wed May 12 17:53:56 CEST 2010
        - Stop pretending the created classes are anonymous.
          They used to close over their own metaclass, so they were never
          cleaned up anyway and only made debugging unnecessarily hard as
          all instances referenced the metaclass as well.
        - Require newer version of MX::Role::Parameterized in the parameterized
          role t
more»

Browse inside MooseX-Traits-0.10.tar.gz

         [DIR]MooseX-Traits-0.10/ (9)

Download MooseX-Traits-0.10.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com