Skip to content

Fix Module::Loaded by adding less pragma#784

Merged
fglock merged 1 commit into
masterfrom
fix/module-loaded-less-pragma
May 21, 2026
Merged

Fix Module::Loaded by adding less pragma#784
fglock merged 1 commit into
masterfrom
fix/module-loaded-less-pragma

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 21, 2026

Summary

  • Add bundled less.pm pragma support using %^H/caller()[10].
  • Add unit coverage for default tags, lexical scoping, and no less.
  • Unblock Module::Loaded, whose test suite starts with use less.

Tests

  • timeout 60 ./jperl src/test/resources/unit/less_pragma.t
  • timeout 1200 make
  • timeout 600 ./jcpan -t Module::Loaded

Module::Loaded's test suite uses the core less pragma. Bundle a
pure-Perl implementation backed by %^H/caller()[10] and add focused
coverage for lexical tag behavior.

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

Co-Authored-By: OpenAI Codex <codex@openai.com>
@fglock fglock merged commit 91ef98d into master May 21, 2026
2 checks passed
@fglock fglock deleted the fix/module-loaded-less-pragma branch May 21, 2026 13:02
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