Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create lexical stub package for 'require'd module.
require Test; will now create a lexically scoped stub package "Test" to be replaced by the loaded module's package at runtime. Nested packages NYI. With this, "require Test; Test::plan(1);" works again. Fixes RT #125083
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters