to the Mymod/db.pm file, right after the package declaration. Thill will call the import() method of MyMod which will export the right subroutine(s) to the MyMod::db package.use MyMod;
In reply to Re: Can't import constants in multiple namespaces
by Joost
in thread Can't import constants in multiple namespaces
by mje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |