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

MooseX-Method-Signatures-0.18.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:MooseX-Method-Signatures-0.18.tar.gz

/MooseX-Method-Signatures-0.18/README

NAME
    MooseX::Method::Signatures - Method declarations with type constraints
    and no source filter

SYNOPSIS
        package Foo;

        use Moose;
        use MooseX::Method::Signatures;

        method morning (Str $name) {
            $self->say("Good morning ${name}!");
        }

        method hello (Str :$who, Int :$age where { $_ > 0 }) {
            $self->say("Hello ${who}, I am 
more»

/MooseX-Method-Signatures-0.18/Changes

Version history for MooseX::Method::Signatures

0.18  Fri, 14 Aug 2009 02:24:41 +0200
  * Depend on Devel::Declare 0.005011. This avoids "->method" and "method =>"
    being misinterpreted sometimes.

0.17  Thu, 13 Aug 2009 08:37:31 +0200
  * Implement method traits (Cory Watson).
  * Properly test list placeholders.
  * Document the right syntax for return value type constraints.
  * Use namespac
more»

Browse inside MooseX-Method-Signatures-0.18.tar.gz

         [DIR]MooseX-Method-Signatures-0.18/ (10)

Download MooseX-Method-Signatures-0.18.tar.gz

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