Rui Figueiredo wrote:
> I sometimes think of something similar to vtcl with perl/tk. Is there any interest
> for something like that?

I would much rather use perl then tcl.
Tcl as a language leaves me wanting more.
Especially after using lisp.  Some say that
tcl should have been lisp, but that is another story.

After being spoiled by vtcl, I will never code tk in tcl
every again.  And since perl's tk lib interface is bazaar
I do not think I will be coding tk by hand that way.

It would be cool to embed tcl in perl so one could
\source/ in the widgets and put a tcl wrapper around
callbacks ( ... -command [pl perl_sub( %w ...)] )
something like that.  We would need a way to set up the
@_ array for perl subroutines, This is of course not
a vtcl problem.  The other thing that would be  cool is
the tcl sub in perl that works like this:

  &tcl( 'bind window...entry <Return> "[pl search %W %y]"' );

where 'search' is a perl sub and 'pl' is tcl a wrapper that set
up a call from tcl to perl.  And of course &tcl passes a string 
to the tcl_interpreter.  IMHO this would be less whacked out 
then the tklib interface currently in perl.
Getting even more off subject.

The biggest thing I need in tcl is good data base access.
even access to gdbm would solve many problems.  I once
wrote a ndbmwish program, but it did not work all that well
with perl scripts doing the back end processing.
Using perl would put an end to this problem.  I would just
have to learn SQL, to get it all.  :(


_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to