Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add intro_my to XS::APItest::lexical_import
so that code thieves will have some correct code to steal. Without intro_my(), the lexical subs installed in a ‘use’ block will not be visible to the following statement, but only the one after it. BEGIN blocks already get intro_my called, so it worked already with a BEGIN block, but not with ‘use’.
- Loading branch information
Father Chrysostomos
committed
Jun 6, 2016
1 parent
e2733f9
commit 59f30b2
Showing
2 changed files
with
13 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