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-xml
perl-xml
CPAN install directory usage
by Perl Perl other posts by this author
Jul 1 2009 5:47AM messages near this date
view in the new Beta List Site
Re: Validating with XML::LibXML::RelaxNG? | Re-stating my request - regd.
& XSLT Hi All,

     I have one doubt, about usage of CPAN install diretory at Windows side.
I have found that TK module is install at "*C:/Perl/site/lib
C:/Perl/lib" .* but
confuse with the usage part.
Please find the sanpshot from the screen as below.

V:\view_MAIN\vob_verif> perl -MTk -e 1
Can't locate Tk.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .).
BEGIN failed--compilation aborted.

V:\view_MAIN\vob_verif> perl -e "print qq(@INC)"
*C:/Perl/site/lib C:/Perl/lib .*
I tried, different ways to embed the above installed directory path in my
script, but I am getting the result as Can't locate Tk.pm in @INC.

Please find my script as below, made this one very short for debuging
pupose.

#!/usr/bin/perl -w
use lib "C\:\\Perl\\site\\lib";

#use lib "C:\/Perl\/site/lib C:\/Perl\/lib";
use Tk;

Please find the error message,

*V:\aec_MAIN\platform_verif> perl Test.pl
Can't locate Tk.pm in @INC (@INC contains: C:\Perl\site\lib C:/Perl/site/lib
C:/
*Perl/lib .) at Test.pl line 5.
BEGIN failed--compilation aborted at Test.pl line 5.

This is at Windows OS. Could you please help me to overcome this?

-- 
--
Regards,
Mujju

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