Branch: refs/heads/yves/robust_inc_unsquash
  Home:   https://github.com/Perl/perl5
  Commit: 2a59bf1d31c90d149473426e75383b246d359472
      
https://github.com/Perl/perl5/commit/2a59bf1d31c90d149473426e75383b246d359472
  Author: Yves Orton <[email protected]>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M pod/perldelta.pod
    M pod/perldiag.pod
    M pp_ctl.c
    M t/op/require_errors.t

  Log Message:
  -----------
  pp_ctl.c - handle objects in @INC a bit more gracefully

If an object doesn't have an INC hook then don't call it. Either simply
stringify the ref (think overloads), OR, if it is a blessed coderef,
then just execute it like it was an unblessed coderef.

Also handle when an object is passed as the first argument of the
array form of call. Previously this would throw an exception as the
first argument on the stack when we call_method() would not be
blessed. When this is the scenario we pass in the array as the third
argument to the method.


  Commit: ff72302a3c28539b9b183c9937184f670ea06936
      
https://github.com/Perl/perl5/commit/ff72302a3c28539b9b183c9937184f670ea06936
  Author: Yves Orton <[email protected]>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M pp_ctl.c
    M t/op/inccode.t
    M t/op/require_errors.t

  Log Message:
  -----------
  pp_ctl.c - add support for an INCDIR hook

This hook returns a list of directories for Perl to search.
If it returns an empty list it acts like a no-op (except for the
error message). The return from INCDIR is always stringified,
they are not treated the same as normal @INC entries so no hooks
returning hooks.


  Commit: 9cb789966e9b6acee596f1878324fcc4c97e7d03
      
https://github.com/Perl/perl5/commit/9cb789966e9b6acee596f1878324fcc4c97e7d03
  Author: Yves Orton <[email protected]>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M pp_ctl.c

  Log Message:
  -----------
  pp_ctl.c - move logic closer to where it is used

No sense doing something that has not effect.


  Commit: 9db465e391d25c4461e1df92826c0d16cfbe3a69
      
https://github.com/Perl/perl5/commit/9db465e391d25c4461e1df92826c0d16cfbe3a69
  Author: Yves Orton <[email protected]>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M pod/perldelta.pod
    M pod/perlfunc.pod
    M pod/perlvar.pod

  Log Message:
  -----------
  pod/ - document $INC and INCDIR


Compare: https://github.com/Perl/perl5/compare/22aa98f4b9b9...9db465e391d2

Reply via email to