> I've downloaded and installed the Tcl Perl module at
> http://search.cpan.org/~vkon/Tcl-0.88/Tcl.pm that you 
> mantain/author (as it
> can be
> read in the README that comes with the .tar.gz) and I'm finding some
> problems. If you are not the rignt person to deal with this 
> issue, please
> tell me where should I address the question (online 
> documentation, mailing

I am right person, but using address tcltk@perl.org is even better - this is
proper discussion mailing list.

> 
> The problem is that TCL packages I usually load without 
> problems using tclsh
> cann't be loaded from the TCL interpreter created from Perl. 
> For example,
> using tclsh console to load a package goes right:

you need to call "Init" method of interpreter.

See my win32 session:


E:\>perl -MTcl -we "$i=new Tcl;$i->Eval('package require Tix')"
can't find package Tix at -e line 1.

E:\>perl -MTcl -we "$i=new Tcl;$i->Init;$i->Eval('package require Tix')"


E:\>perl -MTcl -we "$i=new Tcl;$i->Init;$i->Eval('package require Tixf')"
can't find package Tixf at -e line 1.

If instead of Tcl you'll use Tcl::Tk interpreter, then it is more prepared:

perl -MTcl::Tk -we "$i=new Tcl::Tk;$i->Eval('package require Tix')"

BR,
Vadim.

Reply via email to