Thanks.
It is resolved. A typo by me. I typed "ListBox" instead of "Listbox"

Another question..(hopefully this is not a typo either).
Now I can see the widget (scroll and listboxes).
But I am getting an error message saying.
"TK::Error: Can't locate auto/Tk/Listbox/yviewMoveto.al in @INC"
Is there such thing?
Thanks.
-Brian

PS: the script is from "Learning Perl/Tk" O'Reilly.. Charpter 6, pg 139,140


>From: "Connie Chan" <[EMAIL PROTECTED]>
>To: "Brian Oh" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
>Subject: Re: Can I add a path to @INC
>Date: Thu, 22 Aug 2002 14:53:40 +0800
>
>
>----- 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
>




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Reply via email to