in reply to Can't import constants in multiple namespaces
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't import constants in multiple namespaces
by mje (Curate) on Mar 28, 2006 at 12:16 UTC | |
by xdg (Monsignor) on Mar 28, 2006 at 12:26 UTC |