Re: [tcltk-perl] changes to Tcl and Tcl::Tk
Brought to you by:
hobbs
From: Vadim K. <va...@ar...> - 2004-05-05 19:00:37
|
> I implemented the changes to Tcl so that Tcl::icall now uses > Tcl's unknown (AUTOLOAD) mechanism properly and kept the old > version as Tcl::invoke (not directly used anywhere). And you documented this properly... Very nice. Do I understand this correctly that Tcl::invoke should be used in simple cases to improve speed? > > I changed Tcl::Tk to not require the extra command stuff for > need_tk in all cases and things still work. > > Seeing how small need_tk has become, I think it might be better > to move this to the Tcl module as Tcl::pkg_require, and > possibly take the optional args that Tcl's package require > command allows (version and 'exact' boolean). Cool. Indeed, not only "Tk" stuff could be used with that, but much more. |