Operating System - Linux
1753885 Members
7095 Online
108809 Solutions
New Discussion

How to set the PATH to PErl Modules

 
CA1490051
Frequent Advisor

How to set the PATH to PErl Modules

Hi all,

I ahve installed some perl modules in the HP-UX 11i machine. But,when i run the scripts that uses these modules, it says cant find dirs.pm.

For this i guess i should set this path in @INC i have done as follows in my script push(@INC,/usl/local/perlmodules/MDA) where the modules exist.

But still it gives the same error can you please tell me if i am missing anything here.

thanks and regards
Vikram
1 REPLY 1
H.Merijn Brand (procura
Honored Contributor

Re: How to set the PATH to PErl Modules

% setenv PERL5LIB /your/path/to/modules:/another/path

# export PERL5LIB=/your/path:/yet/another/path

> perl -I/your/own/private/path -I/and/use/this/too ....

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn