modules not found

2006-10-11 Thread Dennis Heuer
Am not shure if this is the right list. I installed perl
into an unusual directory but new modules, like XML-Parser, weren't
able to find installed modules, like ExtUtils. Though the @INC output in
the error message was fully correct. I installed perl into /usr and it
just worked for so. 

Can somebody give me a hint if there's some general problem with perl
when not resided in /usr

Regards,
Dennis Heuer

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: modules not found

2006-10-11 Thread Dennis Heuer
On Wed, 11 Oct 2006 21:39:22 +0800 (GMT+08:00)
Jeff Pang [EMAIL PROTECTED] wrote:

 
 Can somebody give me a hint if there's some general problem with perl
 when not resided in /usr
 
 
 Hello,
 
 Do you know where your modules are installed?Given the path for installed 
 modules is /your/path,you can add the path to Perl's @INC by putthing this 
 statement at the begin of your scripts:
 
 use lib qw(/your/path);
 
 Then the script or other modules should find the installed modules correctly.
 

As written, the @INC path is set correctly already. Is there some
environment variable I can try?

Dennis

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response