"be consistent" | |
PerlMonks |
Re: Tcl::Tk - Tie Hash to Tcl Array and assign hashby Courage (Parson) |
on Jan 20, 2005 at 21:15 UTC ( [id://423794]=note: print w/replies, xml ) | Need Help?? |
Usually you do not go to such a low level of programming when using Tcl::Tk.
Normally, you use perlTk syntax, while using *all* features of all requested package (Tix, or any other) On the other side, looks like tie-ing hashes does not currently fully implemented. Probably because it is rarely needed to do such kind of mapping. I assume this lacking method you found will be fixed within next version of Tcl module, meanwhile you can enter to Tcl::Var package (within Tcl.pm): But you'll probably need more hash methods afterwards (FIRSTKEY for example). PS. Also all we keep in mind, that Tcl's array is not an array in Perl's terminology, its a hash.
Best regards,
In Section
Seekers of Perl Wisdom
|
|