Re: bind some said tcl to perl - all at once

[email protected] (Jeff Hobbs) Mon, 17 Jan 2011 18:16:57 -0800
Newsgroups perl.tcltk
Message-ID <[email protected]>
On 15/01/2011 1:35 PM, Konovalov, Vadim (Vadim)** CTR ** wrote:
> this allows me to create a number of subroutines in Perl in ptcl:: namespace that are automatically get binded to Tcl/tk all at once
...
> so this works well (actually I have same approach for binding variable names)
>
> I wonder, is it reasonable for this approach to be "standartized" and included to, say, Tcl.pm module?
>
> For example - all Tcl names from some predefined Tcl namespace could be bound to perl subroutines all at once.

I think it would be good to provide this as a standard convenience 
function, that would tie either a Perl or Tcl namespace to the other 
language.  I don't think we'd want to pre-define the namespace (note 
that Tcl.pm already uses ::perl:: on the Tcl side), but let the user 
pick it with a single command invocation.

Jeff