freebsd-ports/devel/p5-Method-Signatures/distinfo
Sunpoet Po-Chuan Hsieh 4ee23c50aa Add p5-Method-Signatures 20170211
Method::Signatures provides two new keywords, func and method, so that you can
write subroutines with signatures instead of having to spell out my $self =
shift; my($thing) = @_

func is like sub but takes a signature where the prototype would normally go.
This takes the place of my($foo, $bar) = @_ and does a whole lot more.

method is like func but specifically for making methods. It will automatically
provide the invocant as $self (by default). No more my $self = shift.

It also allows signatures, very similar to Perl 6 signatures.

It also does type checking, understanding all the types that Moose (or Mouse)
would understand.

And it does all this with no source filters.

WWW: http://search.cpan.org/dist/Method-Signatures/
2017-11-12 19:09:33 +00:00

3 lines
182 B
Text

TIMESTAMP = 1510457723
SHA256 (Method-Signatures-20170211.tar.gz) = 891a7c4bb23240871a50faffa1544a9c54450b776662f489fe0dbc0fad22c4e5
SIZE (Method-Signatures-20170211.tar.gz) = 83637