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

MooseX-Traits-0.06.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:FreeBSD distfiles
Filename:MooseX-Traits-0.06.tar.gz

/MooseX-Traits-0.06/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->new_with_traits( traits =>
more»

/MooseX-Traits-0.06/Changes

0.06    Mon Jun 29 00:30:58 CEST 2009
        - use "is => bare" on newer moosen (Closes: RT#47011) (hdp)
        - depend on a Moose version that provides
          meta->constructor_name (Closes RT#46936)

0.05    Thu May 28 08:37:21 MST 2009
        - support subclasses of classes that use MX::Traits

0.04    Tue May 26 23:00:29 MST 2009
        - add apply_traits method
        - use meta->con
more»

Browse inside MooseX-Traits-0.06.tar.gz

         [DIR]MooseX-Traits-0.06/ (10)

Download MooseX-Traits-0.06.tar.gz

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