schwern/method-signatures — pull request #55 by anchor (2012-10-03 06:19:47+00:00)
Title: Allow more than two elements in a type disjunction

Method::Signatures can not parse disjunctions of more than two types. This simple patch removes this limitation.

Example:

method frob(Foo|Bar|Baz $x) {
...
}

Tested with both Moose and Mouse.