RE: [tcltk-perl] Drop listify [PATCH]
Brought to you by:
hobbs
From: Konovalov, V. <vko...@sp...> - 2004-04-16 05:43:16
|
> > 1. it could be reasonable to sometimes make reverse > > subtitution of parameters after getting result of Tcl > > calculation. May be in subroutine with slightly different > > name (wcall?) > > > > it is needed for, say, $widget->cget('-textvariable') to > > return a reference scalar and not a name like _SCALAR_0xXXXXXX > > > Yes, it would be nice to be able to round trip these > values better. I think the first run would be to clean > up how the module creates commands and vars in Tcl (use > a ::perl namespace, where we can also create our own > stuff like ::perl::eval). Later on we could look into this looks like this is robust enough way... > creating our own object type in Tcl to wrap Perl SVs, so > we never lose touch either way. but in this case we'll lose compatibility with current version of Tcl/Tk, 8.4.x, which do not have such object type... > > 2. I see it very useful for DEBUGging purposes to have a > > possibility to track what exactly list passed to "icall" and > > what returned from it. This helps in developing perlTk > > compatibility subroutines... > > This is just another couple of print statements cased on > DEBUG, no? yes, only that, and I, while I use those, I did not even inserted those into CVS because those are so easy and obvious, so anyone who needs them just add "print" statements and go... Best regards, Vadim. |