We don't bite newbies here... much | |
PerlMonks |
Re^3: One module to use them all (proxy moudle that exports subs of other modules)by LanX (Saint) |
on Sep 04, 2022 at 20:56 UTC ( [id://11146683]=note: print w/replies, xml ) | Need Help?? |
>
The OP has existing modules which do not have an import function because they do not have use EXPORTER;. Sorry, this doesn't make sense. You can have a sub import function without using the customized one provided from the module Exporter ° And without import no way to export. Hence if the OP wanted to call those module-subs fully qualified anyway (because they are not exported) there wouldn't be any problem. He could just require the modules, and call the subs in their native package.
Cheers Rolf °) have a look at the provided Two.pm "using its own import()"
In Section
Seekers of Perl Wisdom
|
|