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

MooseX-Method-Signatures-0.12.tar.gz

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

/MooseX-Method-Signatures-0.12/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.12/Changes

0.12  Wed, 04 Mar 2009 03:05:19 +0100
  * Implement and test scalar placeholder values.
  * Eval default value so reference and string defaults work as expected.
  * Make the testsuite less noisy.

0.11  Tue, 03 Mar 2009 03:27:00 +0100
  * Use MooseX::Types introspection capabilities instead of blindly executing
    functions in other pakages.
  * Stop mentioning the deprecated MX::Method, as requ
more»

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

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

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

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