use lib 'newpath'; use gui::skills_gui; use db::skills_db;
and remove "newpath::" from the package name.
Note that if the path is relative, it's relative to the current directory, which is not necessarily the same as the directory in which the script resides.
In reply to Re: Using variables within use and package statement
by ikegami
in thread Using variables within use and package statement
by perl_devel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |