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

MooseX-Method-Signatures-0.09.tar.gz

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

/MooseX-Method-Signatures-0.09/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.09/Changes

0.09  Mon, 23 Feb 2009 08:07:47 +0100
  * Port to MX::Types::Structured.
    + Much more useful error messages, including backtraces.
    + Don't pass undef for parameters now actual value was provided for.
  * Require a Defined value, not a simple Value when no type constraints are
    given.
  * Add more tests. Improve existing tests.

0.08  Sun, 22 Feb 2009 02:15:40 +0100
  * Don't depend on Re
more»

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

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

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

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