Link to home
Start Free TrialLog in
Avatar of saratcm
saratcmFlag for India

asked on

how do i add my custom perl modules directory path to @inc in windows server?

how do i add my custom perl modules directory path to @inc in windows 2008 server? can adding PERL5LIB environment variable & giving the path of the custom perl module directory to perl5lib env variable solve the problem? Please let me know if any other solutions are possible?
ASKER CERTIFIED SOLUTION
Avatar of Kim Ryan
Kim Ryan
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of saratcm

ASKER

I have more than 30 modules in the directory & most modules are called by more than 100 scripts..so will i need to add the use lib statement to all the 100 scripts that call the modules ?  Can't i just specify the env variable & provide the value as the path to the directory?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of wilcoxon
wilcoxon
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of saratcm

ASKER

I won't be able to provide the directory path as a parameter to perl,bcos the modules are called by C++ code.Any other sol'n?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of saratcm

ASKER

Thanks!