Re: [tcltk-perl] changes to Tcl and Tcl::Tk
Brought to you by:
hobbs
|
From: Gisle A. <gi...@Ac...> - 2004-05-05 04:53:56
|
"Jeff Hobbs" <je...@Ac...> writes:
> 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).
Why this wrapper at all? Why not call out to Tcl each time?
I guess I'm asking "What would be the difference between these?".
$tcl->call("package", "require", $pkg);
$tcl->pkg_require($pkg);
--Gisle
|