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

MooseX-Method-Signatures-0.29.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:FreeBSD distfiles
Filename:MooseX-Method-Signatures-0.29.tar.gz

/MooseX-Method-Signatures-0.29/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.29/Changes

Version history for MooseX::Method::Signatures

0.29  Thu, 15 Oct 2009 23:27:08 +0200
  * Fix regression introduced in 0.29.
    Validation for methods without named arguments wasn't strict enough
    anymore. Passing too many arguments hasn't been rejected. Thanks
    Justin Hunter for finding this.

0.28  Fri, 09 Oct 2009 01:28:02 +0200
  * Fix default values for named arguments.

0.27  Tue, 22 
more»

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

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

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

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