CPAN install directory usage

Perl Perl <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <[email protected]>
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

_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.