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 nested required module.
require Foo::Bar; will now create a lexically scoped package "Foo" containing the nested stub package "Bar" to be replaced by the loaded module's package at runtime. With this, "require Foo::Bar; Foo::Bar::baz();" works again.
- Loading branch information
Showing
1 changed file
with
21 additions
and
10 deletions.
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