Branch: refs/heads/yves/chr_rfc-18-module-true
  Home:   https://github.com/Perl/perl5
  Commit: 6e09b84ae1b0abb15b22d8ebf980edd4acb82b94
      
https://github.com/Perl/perl5/commit/6e09b84ae1b0abb15b22d8ebf980edd4acb82b94
  Author: chromatic <[email protected]>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M feature.h
    M lib/feature.pm
    M op.c
    M op.h
    M pod/perldelta.pod
    M pp_ctl.c
    M regen/feature.pl
    M t/comp/require.t

  Log Message:
  -----------
  Enable `use feature 'module_true'`

Per RFC 18, whenever `use feature 'module_true';` is enabled in a scope,
any file required with `require` has an implicit return value of true
and will not trigger the "did not return a true value" error condition.

This includes logic to use the OPf_SPECIAL flag for OP_RETURN listops to
indicate that the module_true feature is in effect when it executes.
This flag plays no role unless the OP_RETURN tail calls the pp_leaveeval
logic, so it doesn't affect normal sub returns.


  Commit: 1d9d7fed474ad56444213bbd88c4f549d0f4c6fe
      
https://github.com/Perl/perl5/commit/1d9d7fed474ad56444213bbd88c4f549d0f4c6fe
  Author: Yves Orton <[email protected]>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M pod/perlfunc.pod

  Log Message:
  -----------
  perlfunc.pod - document module_true in the require entry

A brief note pointing people at the feature manpage.


  Commit: b9f7ec083eeaf9dc65062e96781a7c27fdb16fef
      
https://github.com/Perl/perl5/commit/b9f7ec083eeaf9dc65062e96781a7c27fdb16fef
  Author: Yves Orton <[email protected]>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M dump.c
    M ext/Devel-Peek/t/Peek.t

  Log Message:
  -----------
  dump.c - in op_dump show the hints and feature bits

I used to 'FEATS' instead of 'FEATURES' so the values line up
nicely.


  Commit: 3c2f267b7d429d07f246d2ca481635d2396c53f0
      
https://github.com/Perl/perl5/commit/3c2f267b7d429d07f246d2ca481635d2396c53f0
  Author: Yves Orton <[email protected]>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M op.c

  Log Message:
  -----------
  op.c - remove superfluous whitespace


  Commit: 9a057471526ced50ee4d26b79afea682e11a6507
      
https://github.com/Perl/perl5/commit/9a057471526ced50ee4d26b79afea682e11a6507
  Author: Yves Orton <[email protected]>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M peep.c

  Log Message:
  -----------
  peep.c - add a comment/question to a comment

We optimize away certain nextstate ops, but it isn't clear if
it is possible for the ops to be there to switch hints or feature
flags. Tony thinks its fine however. So I have added the commentary
to the comment for future readers.


Compare: https://github.com/Perl/perl5/compare/424b5b087db7...9a057471526c

Reply via email to