Re: How to use a tcl/tk widget that needs a tcl array

[email protected] (Jeff Hobbs) Thu, 28 Oct 2010 12:54:38 -0700
Newsgroups perl.tcltk
Message-ID <[email protected]>
On 28/10/2010 12:51 PM, Gisle Aas wrote:
> For this specific problem I think we should just make passing of a hash reference to a Tcl command work the same way it works to pass a scalar reference.  It should then be possible to just use:

FWIW I thought that might be a good idea as well, but it would be done 
at the Tcl.pm level in the 'call' subroutine.  Just adding a "$ref eq 
'HASH'" check that mirrors (or adds on to) the $ref eq 'SCALAR' check.

Jeff