in reply to Lib path declaration
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.
|
|---|