develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] 2a6654: op.c - work around Module::Install::DSL issue

From:
Yves Orton via perl5-changes
Date:
August 29, 2022 14:26
Subject:
[Perl/perl5] 2a6654: op.c - work around Module::Install::DSL issue
Message ID:
Perl/perl5/push/refs/heads/yves/fixup_16300/c93e39-795634@github.com
  Branch: refs/heads/yves/fixup_16300
  Home:   https://github.com/Perl/perl5
  Commit: 2a665426c17c999f4b7ebfea52feaa4a799ed330
      https://github.com/Perl/perl5/commit/2a665426c17c999f4b7ebfea52feaa4a799ed330
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M op.c
    M op.h
    M pod/perldiag.pod
    M t/op/blocks.t

  Log Message:
  -----------
  op.c - work around Module::Install::DSL issue

This converts INIT {} blocks from the Module::Install::DSL
namespace into BEGIN blocks. This works around the bug reported in
GH Issue #16300. (Hopefully, not fully tested yet.) Which in turn
should allow us to close the bug in #2754.

See also PR: #20168 and Issue: #20161 both of which are blocked by
this.


  Commit: 795634b5c3823ee5638d6028ad0ae22bbecb0cc8
      https://github.com/Perl/perl5/commit/795634b5c3823ee5638d6028ad0ae22bbecb0cc8
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M perl.c
    M t/op/blocks.t

  Log Message:
  -----------
  Revert "postpone perl_parse() exit(0) bugfix"

This reverts commit 857320cbf85e762add18885ae8a197b5e0c21b69.

There were a lot of conflicts due to whitespace changes in the
intervening time. I manually reviewed the differences and merged them.


Compare: https://github.com/Perl/perl5/compare/c93e399c7f5a...795634b5c382



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About