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»
0.08 Sun, 22 Feb 2009 02:15:40 +0100
* Don't depend on Readonly in the tests.
* Allow parameters to be coerced using the coerce trait.
0.07 Sat, 21 Feb 2009 20:31:47 +0100
* Tests for anon methods.
* Use B::Hooks::EndOfScope instead of Scope::Guard and %^H.
* Add TODO test for using exported types in signatures.
* Port from Perl6::Signature to Parse::Method::Signatures.
* Port to
more»