I have downloaded a cpan module called Config::Abstract::Ini,It is available in my home directory and /usr/lib also.Default the @INC will have the /usr/lib path.But I want to take and use my home directory module.The path will be given from global values.If the values is empty,it should take default path(/usr/lib).If the home directory path is error,it should say an error.
if($path ne ''){ unshift(@INC,"$path"); } use Config::Abstract::Ini;
NOTE: I used above code it is searching from default directory.even I would give wrong path in global value.
In reply to Lib path declaration by santhosh_89
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |