./devel/p5-Function-Parameters, Perl5 subroutine definitions with parameter lists

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


Branch: CURRENT, Version: 2.000006, Package name: p5-Function-Parameters-2.000006, Maintainer: pkgsrc-users

This module extends Perl with keywords that let you define functions with
parameter lists. It uses Perl's perlapi/PL_keyword_plugin API, so it works
reliably and doesn't require a source filter.


Required to run:
[lang/perl5] [devel/p5-Moose]

Required to build:
[devel/p5-Dir-Self] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 97309bd0ff60dfd2508c86873c294e01b7689b86
RMD160: ba380830ffaa3c74041826a5750a6f60abdf9ac6
Filesize: 85.532 KB

Version history: (Expand)


CVS history: (Expand)


   2017-04-19 14:01:43 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated devel/p5-Function-Parameters to 2.000006
------------------------------------------------
2.000006  2017-04-16
          - work around core bug #129090 / #131146 in perl 5.22 and 5.24:
            perl -e 'use Function::Parameters; \&f; fun f() { eval \ 
"" }' hangs
            in the compiler (also happens with perl -d or Devel::Cover instead
            of eval) (gh #29)

2.000003  2017-03-31
          - fix a bug where method modifiers would inadvertently declare subs
            (e.g. 'before foo() {}' acting like 'sub foo;
            BEGIN { &before('foo', sub {}) }'), breaking Pkg->can($method) and
            thus Class::Method::Modifiers (RT #120804)
          - make method modifiers take effect at runtime because otherwise
            you'd have to wrap every with()/extends() in a BEGIN block to make
            consumed/inherited methods visible to modifiers (RT #120804)
          - make method modifiers require a name (what would an anonymous
            modifier modify?)
          - (hopefully) improve the error message you get for trying to add any
            parameters after a slurpy

2.000002  2017-03-27
          - default to strict mode
          - allow types with multiple arguments (e.g. 'Tuple[Int, String]')
          - implement new 'auto' type reifier and use it by default
          - allow multiple invocants
          - support custom installers
          - implement Moo/Moose-style method modifiers
          - rework and extend import syntax
          - make implicit $self available in default arguments
          - call type reifiers from correct package and remove 2nd arg
            workaround
          - remove :(...) prototype syntax
          - remove undocumented 'attrs' option
          - drop internal Moo dependency
   2017-03-20 10:12:26 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update devel/p5-Function-Parameters to 1.0706
---------------------------------------------
1.0706  2017-03-17
        - don't require . in @INC during install
        - improve internal code generation functions used on perls before 5.22
(pkgsrc note)
make test fails at t/foreign/Fun/name.t, but the previous version also fails
at the same point, thus update, thank you.
   2016-06-11 14:44:27 by Kamil Rytarowski | Files touched by this commit (3)
Log message:
Import p5-Function-Parameters-1.0705 as devel/p5-Function-Parameters

This module extends Perl with keywords that let you define functions with
parameter lists. It uses Perl's perlapi/PL_keyword_plugin API, so it works
reliably and doesn't require a source filter.

Originally packaged in pkgsrc-wip by myself.

Reviewed by <leot>.