Instead of trying export everything into your current package, it would be simpler to remove the package statement from the top of the file and use do 'module.pm'; to effectively include it into the current namespace.
do 'filename'; is almost forgotten, little used syntax, but it achieves your goal exactly without needing to jump through hoops and replicate a mass of stuff in two different namespaces.
In reply to Re: Exporting all variables and subroutines using Exporter
by BrowserUk
in thread Exporting all variables and subroutines using Exporter
by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |