in reply to Re: use/require $MODULE (a variable)
in thread use/require $MODULE (a variable)

Just to restate what I just posted, I'm able to get through the eval "require $module"; without trouble, and @INC, and %INC are being appropriately updated.

But!, if one of the loaded Modules uses Exporter to export its symbols into the caller package, the problem is that the caller package is not main! I.e. the Modules are not exporting their symbols into main. Hence, if I have a module that exports a subroutine symbol into main, if I

use Module;
directly, I can call the subroutine without a qualified package designator. But when my loader loads the Module, I can only call the subroutine with the fully qualified package name.

Why isn't the Exporter working in this case to export the Module's symbols into main?

thanks,
-cadphile