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

MooseX-Declare-0.33.tar.gz

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

/MooseX-Declare-0.33/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.33/Changes

0.33  Thu, 04 Feb 2010 02:50:14 +0100
  * Depend on MooseX::Method::Signatures 0.30 to fix various incompatibilities.

0.32  Mon, 02 Nov 2009 03:00:42 +0100
  * Add link to Geany syntax notes to documentation (Michele Beltrame).
  * Convert from MooseX::MethodAttributes to Native::Trait (Justin Hunter).
  * Update dependency on MooseX::Types (Chris Prather).

0.31  Thu, 17 Sep 2009 18:10:22 +0200

more»

/MooseX-Declare-0.33/TODO

* Implement class Foo;
* 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 to distinguish from creating a class
  called 'extends'

Browse inside MooseX-Declare-0.33.tar.gz

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

Download MooseX-Declare-0.33.tar.gz

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