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

MooseX-Declare-0.08.tar.gz

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

/MooseX-Declare-0.08/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.08/Changes

0.08  Tue, 03 Mar 2009 02:55:46 +0100
  * Implement the clean keyword.
    + Document the clean keyword (Nelo Onyiah).

0.07  Sat, 28 Feb 2009 21:01:32 +0100
  * Mention all contributors.
  * Use MooseX::Method::Signatures::Meta::Method instead of injecting
    method keywords.
  * Update copyright notice for the new year (Yanick Champoux).

0.06  Tue, 24 Feb 2009 07:20:03 +0100
  * Automatically 
more»

/MooseX-Declare-0.08/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.08.tar.gz

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

Download MooseX-Declare-0.08.tar.gz

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