libperl.so question

Penguin1
Penguin1 used Ask the Experts™
on
Im trying to write an interface for xchat that  will open
Tk windows. I can get the code to work standalone, but
when I try to interface with xchat the perl interpreter
complains about not being able to find modules. Thus I guess
I need to change the @INC setting for libperl, but I'm not sure how to do this any comment?

P.S. if this is the wrong area to post this can you please give me directions to the correct one.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If the module is not installed with default installdir, then you could use something like the following in your perl script:

use lib '/home/users12/www/lib',
        '/home/users12/www/lib/bin',
        '/usr/home/lib';

Author

Commented:
Thanks that helped !!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial