in reply to Re: Perl includes to reuse code.
in thread Perl includes to reuse code.
No, in my test scripts, Utils.pm begins as follows:
package Utils; use system_mod_includes;
But note that there is no package directive in system_mod_includes.pm. If I add one, I get an error like the one you originally reported:
Undefined subroutine &Utils::Dumper...
I assume this is a namespace problem.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|