On Sat Feb 03 11:18:06 2018, SLOYD wrote:
Show quoted text> Now it always calls import(), but sometimes I have the need to inject
> something like "use Module ();" into the target package.
‘use Module()’ has no effect on the surrounding scope. (If it does, that’s a bug in the module; the module’s not well-behaved.)
All ‘use Module()’ does is:
BEGIN {
require Module;
}
If you want that effect at run time, you can just use ‘require Module’.