ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
Re: CPAN install directory usage
by Chris Wagner other posts by this author
Jul 1 2009 7:49AM messages near this date
view in the new Beta List Site
Re: CPAN install directory usage | Re: CPAN install directory usage
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
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Perl Perl
Brian Raven
Chris Wagner
Perl Perl
kenneth
Perl Perl
Chris Wagner
Perl Perl
kenneth
Brian Raven

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved