Branch: refs/heads/book/rfc0013-join
Home: https://github.com/Perl/perl5
Commit: 12cc67449c6a4543e596738708f9d69173f9c147
https://github.com/Perl/perl5/commit/12cc67449c6a4543e596738708f9d69173f9c147
Author: Philippe Bruhat (BooK) <[email protected]>
Date: 2022-12-09 (Fri, 09 Dec 2022)
Changed paths:
M MANIFEST
A t/lib/overload_join.t
Log Message:
-----------
t/lib/overload_join.t: test exposing missing support for overload in join
This is preliminary work for implementing RFC0013.
Co-authored-by: Eric Herman <[email protected]>
Commit: e5134328c4827f35b54b0c7f1ee0670f0c0cabca
https://github.com/Perl/perl5/commit/e5134328c4827f35b54b0c7f1ee0670f0c0cabca
Author: Eric Herman <[email protected]>
Date: 2022-12-09 (Fri, 09 Dec 2022)
Changed paths:
M embed.fnc
M embed.h
M gv.c
M proto.h
Log Message:
-----------
Added function amagic_find(sv, method, flags)
Returns the CV pointer to the overloaded method,
which will be needed by join to detect concat magic.
Co-authored-by: Philippe Bruhat (BooK) <[email protected]>
Commit: 7de0c6891d110cae31db25cb95bed22fc0ba0cce
https://github.com/Perl/perl5/commit/7de0c6891d110cae31db25cb95bed22fc0ba0cce
Author: Philippe Bruhat (BooK) <[email protected]>
Date: 2022-12-09 (Fri, 09 Dec 2022)
Changed paths:
M doop.c
M embed.fnc
M embed.h
M proto.h
Log Message:
-----------
Implements RFC0013 for concat overload in join
Add static helper functions:
* S_do_join_inner(lhs, rhs)
concat function which may call overload if either
the left or right sv has concat overload magic.
* S_sv_has_overload_method(sv, method)
wrapper around amagic_find that returns a proper boolean
Co-authored-by: Eric Herman <[email protected]>
Compare: https://github.com/Perl/perl5/compare/12cc67449c6a%5E...7de0c6891d11