use is compiled before other normal code. You have either to use require or edit the include path in a BEGIN block before the use:
use strict; use warnings; BEGIN { if ($path ne ''){ unshift @INC, $path; } } use Config::Abstract::Ini;
Note that $path must be set (probably in a previous BEGIN block) before being used as shown above.
In reply to Re: Lib path declaration
by GrandFather
in thread Lib path declaration
by santhosh_89
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |