Skip to content

Fix compiler and tooling compatibility for CPAN modules - #961

Merged
fglock merged 1 commit into
masterfrom
fix/jcpan-compiler-tooling-batch
Aug 15, 2026
Merged

Fix compiler and tooling compatibility for CPAN modules#961
fglock merged 1 commit into
masterfrom
fix/jcpan-compiler-tooling-batch

Conversation

@fglock

@fglock fglock commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • fix fixed-prototype trailing commas before boolean infix operators
  • preserve caller DATA handles and file ownership of end-of-scope callbacks across nested loads
  • retain tied handlers during reachability sweeps and complete DBI metadata statement behavior
  • tighten the IO::Async distropref and preserve DateTime::Format::Builder generated methods
  • add system-Perl-compatible regression coverage and a completed compatibility design note

Requested distribution results

Distribution Result
Net::Async::SMTP PASS: 3 files, 18 tests
Group::Git PASS: 7 files, 43 tests
Locale::CLDR::Locales::Lu PASS: 1 file, 4 tests
Dist::Zilla::Plugin::Meta::Maintainers PASS: 2 files, 2 tests
TOML::Tiny PASS: 291 files, 484 tests
DBIx::Admin::BackupRestore PASS: 4 files, 15 tests
Number::Phone::NO PASS: 10 files, 23 tests
WWW::Wikipedia Excluded: its live-API suite also fails under system Perl (13 files, 45 tests, exit 1)

Number::Phone::NO passes, although JVM teardown can emit a non-fatal stack overflow while cleaning the large DBM::Deep object graph. The design note records this separately for future iterative teardown work.

Validation

  • prove with system Perl: 5 focused files, 20 tests, PASS
  • make: PASS (BUILD SUCCESSFUL, all five unit-test shards)

Fix fixed-prototype trailing commas, nested DATA handle preservation,
end-of-scope callback ownership, tied-handler reachability, and DBI metadata
statement behavior. Tighten the IO::Async distropref and preserve methods
generated by DateTime::Format::Builder during namespace cleanup.

Add system-Perl-compatible regression tests and document the completed CPAN
compatibility batch.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock merged commit 35c2f13 into master Aug 15, 2026
2 checks passed
@fglock
fglock deleted the fix/jcpan-compiler-tooling-batch branch August 15, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant