./devel/p5-Method-Signatures, Method and function declarations with signatures and no source filter

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20170211nb3, Package name: p5-Method-Signatures-20170211nb3, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5] [devel/p5-PPI] [devel/p5-Mouse] [devel/p5-Sub-Name] [devel/p5-Devel-Declare] [devel/p5-Any-Moose] [devel/p5-Lexical-SealRequireHints] [devel/p5-Const-Fast]

Required to build:
[devel/p5-Test-Exception] [devel/p5-Module-Build] [devel/p5-Test-Warn] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: e64c00cc77c570ca63164532979a794b226b6d03
RMD160: 8429ea8fc92f9416ca9506ea7954ae0277d8b281
Filesize: 81.677 KB

Version history: (Expand)


CVS history: (Expand)


   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631) | Package updated
Log message:
*: bump PKGREVISION for perl-5.32.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-06-30 22:17:50 by Nia Alarie | Files touched by this commit (1816) | Package updated
Log message:
Update packages using a search.cpan.org HOMEPAGE to metacpan.org.

The former now redirects to the latter.

This covers the most simple cases where http://search.cpan.org/dist/name
can be changed to https://metacpan.org/release/name.

Reviewed by hand to hopefully make sure no unwanted changes sneak in.
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-09-27 22:04:09 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-Method-Signatures: update to 20170211.

20170211    Feb 11 13:38:39 PST 2017
    Promoted to full release

20160608.0051_002   Wed Jun  8 00:51:42 PDT 2016
    New Features
    * Can now put prototypes in front of signatures
      (provides compatibility with sigs in 5.20)
      [RT/93336, github #99/#127] (thanks brummett)

20160516.2032_001   Mon May 16 20:32:59 PDT 2016
    New Features
    * Can now use bare sigils as placeholders
      (provides compatibility with sigs in 5.20)
      [RT/93334, github #100/#126] (thanks brummett)
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-05-03 07:10:38 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated to devel/p5-Method-Signatures 20160315
---------------------------------------------
20160315    Tue Mar 15 16:21:33 PDT 2016
    Promoted to full release

20160310.2049_001   Thu Mar 10 20:49:00 PST 2016
    Docs
    * Fix broken link in POD
      [github #120] (thanks Manwar)

    Distribution Fixes
    * Generate README from POD
      [github #122/#123/#124] (thanks jluis)
    * Silence bogus Kwalitee failure
      [github #121] (thanks jluis)

20151120.1519_001   Fri Nov 20 15:19:44 PST 2015
    Bug Fixes
    * Fix missing semi-colon
      [github #118] (thanks joenio)

    Distribution Fixes
    * Bump required version of Lexical::SealRequireHints to fix RT #93759
      [github #119] (thanks chorny)