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

MooseX-Declare-0.29.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:MooseX-Declare-0.29.tar.gz

/MooseX-Declare-0.29/README

NAME
    MooseX::Declare - Declarative syntax for Moose

SYNOPSIS
        use MooseX::Declare;

        class BankAccount {
            has 'balance' => ( isa => 'Num', is => 'rw', default => 0 );

            method deposit (Num $amount) {
                $self->balance( $self->balance + $amount );
            }

            method withdraw (Num $amount) {
                my $current_balance = $s
more»

/MooseX-Declare-0.29/Changes

0.29  Mon, 31 Aug 2009 19:11:25 +0200
  * Add failing test for applying modifiers to a method directly composed from
    a role (nperez).
  * Fix the failing test by depending on MXMS 0.24.

0.28  Thu, 27 Aug 2009 22:44:34 +0200
  * Bump prereqs on MooseX::Method::Signatures, Moose, and namespace::clean in
    order to avoid test failure.

0.27  Tue, 18 Aug 2009 08:54:22 +0200
  * Depend on MooseX
more»

/MooseX-Declare-0.29/TODO

* Implement class Foo;
* Only set up the matching declarators inside of class and role.
  (i.e. no augment in role)
* Implemet subclass { ... }, meaning class Foo extends OuterClass { ... } for
  nested classes.
* Allow $class = extends Foo { ... }; and $class = with Role { ... }; for
  creating anonymous classes. Not only $class = class extends Foo { .. };
  doesn't read very well, it's also hard
more»

Browse inside MooseX-Declare-0.29.tar.gz

         [DIR]MooseX-Declare-0.29/ (11)

Download MooseX-Declare-0.29.tar.gz

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