<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/devel/p5-Method-Signatures, branch pkgsrc_2012Q2</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=pkgsrc_2012Q2</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=pkgsrc_2012Q2'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>2011-11-15T18:05:20Z</updated>
<entry>
<title>Importing package for CPAN module Method::Signatures 20111020 into</title>
<updated>2011-11-15T18:05:20Z</updated>
<author>
<name>sno</name>
<email>sno</email>
</author>
<published>2011-11-15T18:05:20Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=fc3da6f09ae61acbb45b3947bbea8479c9d6357c'/>
<id>urn:sha1:fc3da6f09ae61acbb45b3947bbea8479c9d6357c</id>
<content type='text'>
devel/p5-Method-Signatures to let developers use new keywords func and
methods when writing scripts or modules for the Perl programming language.

This package is a dependency of scheduled update of devel/p5-Git-CPAN-Patch
to 0.7.0.

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. No more my $self = shift.

Also allows signatures, very similar to Perl 6 signatures.

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

And it does all this with no source filters.
</content>
</entry>
</feed>
