Hi.  The first thing u need to do is manually check what directory Tk.pm is
in.  Do a search if necessary.  So if Tk.pm is located in V:\x\y\z\Tk.pm,
put `use lib "V:/x/y/z";` at the top of ur script.  That should be all u
need.  If that doesn't work then there could be permissions issues.  Let us
know how it goes.

 
At 07:07 PM 7/1/2009 +0530, Perl Perl wrote:
>Hi Brian Raven,
>
>             I don't know by which way my system admin has install the
>module. Here my task is to use that module in my script. I forgot to add one
>more thing in the last mail.
>I have received a mail saying TK.pm is installed in below path. But I am not
>getting how to use the same at Windows side.
>Please find the given path as well for your kind reference.
>
>
>    The Tk package is installed in the vob release of perl.
>
>Please check the following path: /vobs/vob_verif/tools/Perl/lib/Tk.pm
>
>The way to run a perl script on windows is to open up a command prompt and a
>view and call perl by:
>
>V:\view_MAIN\vob_verif\tools\Perl\bin\perl
>You can use Tk by running a script with use Tk.pm, it will work.
>
>
>I have changed my sript with the given path ( By different means), but still
>getting the error, please find the script and error as below.
>
>
>*#!/usr/bin/perl -w*
>
>*use lib 'V:/vobs/vob_verif/tools/Perl/lib/Tk.pm';*
>
>*#use lib 'V:/vobs/vob_verif/tools/Perl/lib';*
>
>*#use lib '/vobs/vob_verif/tools/Perl/lib/Tk.pm';*
>
>*#use lib '/vobs/vob_verif/tools/Perl/lib';
>
>use FindBin qw($RealBin);*
>
>*use Tk;*
>
>Error Message :
>
>
>V:\view_MAIN\vob_verif>v:\view_MAIN\vob_verif\tools\Perl\bin\perl.exe
>Test.pl
>Can't locate Tk/Event.pm in @INC (@INC contains:
>/vobs/vob_verif/tools/Perl/lib v:/view_MAIN/vob_verif/tools/Perl/site/lib
>v:/view_MAIN/vob_verif/tools/Perl/lib .) at
>v:/view_MAIN/vob_verif/tools/Perl/lib/Tk.pm line 13.
>BEGIN failed--compilation aborted at
>v:/view_MAIN/vob_verif/tools/Perl/lib/Tk.pm line 13.
>Compilation failed in require at Test.pl line 6.
>BEGIN failed--compilation aborted at Test.pl line 6.
>
>Thanks for your kind help.
>
>Regards,
>Mujju
>


--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede malis"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to