----- Original Message ----- 
From: "Brian Oh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 22, 2002 2:45 PM
Subject: Can I add a path to @INC


> Hi
> I am using solaris and perl5.6.1.
> And I got an error saying it can not locate TK/ListBox.pm in
> @INC.

1. Are you sure you've install this module correctly ?
2. Can you find Tk/ListBox.pm inside lib/ and site/lib under Perl ?
3. My WinOS is not case sensitve, but Tk is the module's name, not TK.
How about yours ?

> And @INC does not include the path to TK/ListBox.pm.

A simple way to test if you've installed it correctly is : 
perldoc -m Tk::ListBox. If you've install it correctly, you will
see the manual. That's quite strange that Tk/ListBox.pm is comming
with Perl's distribute....

> How can I add the path to TK/Listbox.pm to @INC?

If you know exactly where Tk/Listbox.pm, you can :

push @INC, 'youpath';
or
use lib ('yourpath');

Rgds,
Connie


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to