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

MooseX-Method-Signatures-0.17.tar.gz

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

/MooseX-Method-Signatures-0.17/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.17/Changes

Version history for MooseX::Method::Signatures

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 namespace::autoclean instead of namespace::clean.
  * Let the signature default to (@) if none is given.
  * Don't require the package attribute when a pre-built
more»

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

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

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

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