./devel/p5-Want, Perl module providing a generalisation of wantarray

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

Branch: CURRENT, Version: 0.29nb2, Package name: p5-Want-0.29nb2, Maintainer: pkgsrc-users

This Perl 5 module generalises the mechanism of the wantarray
function, allowing a function to determine in some detail how its
return value is going to be immediately used.

Master sites: (Expand)

SHA1: 8b6ad919e051a28112a031595e8c273b7107351f
RMD160: d6cfaf218e1a69e584b4e50d1e1fea96d54d6e87
Filesize: 20.438 KB

Version history: (Expand)

CVS history: (Expand)

   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 12:54:58 by Thomas Klausner | Files touched by this commit (78)
Log message:
Reset maintainer (observer now).
   2016-03-04 14:26:07 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 0.29

Upstream changes:
0.27  Thu 25 Feb 2016 21:26:04 GMT
    - perl 5.23.8 breaks the hack we were using to implement double_return.

    This patch from David Mitchell fixes it. See \ 

    David wrote:

    > Running with a debugging perl-5.23.8 will show assertion failures in \ 
the Want test suite. It's because PL_comppad/PL_curpad save/restore is now done \ 
by the context stack / cx_popsub() rather than as previously on the savestack / \ 

    > This stops the double_return() 'convert CXt_SUB to CXt_NULL' hack from \ 
working properly, as PL_comppad is no longer restored when transitioning from \ 
the inner to outer sub. The attached patch substitutes one evil hack for \ 
another: it keeps the CXt_SUB context stack entry, but sets its retop field to \ 
point to the return op again (rather than its caller) so that the return op gets \ 
called twice (with a bit of markstack hackery to ensure there are two marks for \ 
the two returns to pop).

    > rreturn and lnoreturn are also a bit under-tested. In particular, there \ 
are no tests for rreturn in list context. I added such a test, but more need \ 

    > I can see this hack breaking again in the future. Perhaps in the long term
    > rreturn() and lnoreturn() should be implemented using custom ops???

    > Dave M.

0.28  Thu 25 Feb 2016 22:02:42 GMT
    - Fix test failure in 5.14
    - Fix test failure in 5.23.9 (using a patch from Slaven Rezic)
http://cpan.cpantesters.org/authors/id/ … 2226.patch

0.29  Fri 26 Feb 2016 04:42:19 GMT
    - Restore compatibility with certain older perl versions (5.10 and 5.12)

      It seems that �𦯷TTRS: lvalue�� doesn�脌 \ 
work with older perls, but that you can
      forward-declare the method in Perl code with the :lvalue attribute with \ 
the same

      This version of Want is still broken with perl 5.8, for reasons I \ 
haven�脌 investigated.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-04-29 13:42:04 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update to 0.26
0.26  Tue 28 Apr 2015 12:31:17 BST
    - There is a new experimental option in bleadperl under which one ought not \ 
to use
      the op_sibling field directly. Quoting from perlguts.pod:

        Starting in version 5.21.2, perls built with the experimental
        define C<-DPERL_OP_PARENT> add an extra boolean flag for each op,
        C<op_moresib>.  When not set, this indicates that this is the last \ 
op in an
        C<OpSIBLING> chain. This frees up the C<op_sibling> field on \ 
the last
        sibling to point back to the parent op. Under this build, that field is
        also renamed C<op_sibparent> to reflect its joint role. The macro
        C<OpSIBLING(o)> wraps this special behaviour, and always returns \ 
        the last sibling.  With this build the C<op_parent(o)> function can be
        used to find the parent of any op. Thus for forward compatibility, you
        should always use the C<OpSIBLING(o)> macro rather than accessing
        C<op_sibling> directly.

      Thanks to Reini Urban for the patch.
   2015-04-25 10:30:32 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Update 0.21 to 0.25
0.22  Sun 15 Dec 2013 17:08:35 GMT
    - Prevent return from being optimised away by newer (>= 5.19.7) Perls.
      This is a patch supplied by @wolfsage: see

0.23  Mon 24 Mar 2014 00:28:36 GMT
    - Accommodate a bleadperl change to the optree, made in
      This is bug #94086 for Want, and bug #121342 for perl5.

0.24  Tue  2 Dec 2014 10:22:39 GMT
    - Accommodate another bleadperl change. Patch provided by Father Chrysostomos at

0.25  Wed 10 Dec 2014 19:31:03 GMT
    - Add support for the new OP_MULTIDEREF
      Perl has a new op, added as a performance optimisation
      in fedf30e1c349130b23648c022f5f3cb4ad7928f3, to
      represent a sequence of array/hash dereferences. This
      patch adds support for the new op.