RE: [tcltk-perl] What version of perl is required?
Brought to you by:
hobbs
From: Konovalov, V. <vko...@sp...> - 2004-04-15 05:17:54
|
> > > Related question is what versions of 'tcl' is the Tcl.pm > supposed to > > > be compatible with? > > > My dream is to have something like Tcl.xs and Tcl800.xs, and > > Tcl800.xs could just contain old non-Unicodish > > non-tcl-Object, just to have working bridge even for such cases.. > > My dream is that people realize 8.0 is 7 years old and used > newer versions of Tcl. However, if you wanted to support it, > the only thing you need to fix is Tcl_GetString (that was > added in 8.1, but is simply Tcl_GetStringFromObj(var, NULL)) > and Tcl_FindExecutable (that's 8.1+). Supporting 8.0 is not necessity, but in case we'll drop it, we *must* improve Makefile.PL to detect elder Tcl/Tk versions and refuse to go through build and test, otherwise CPAN testers will send a bunch of FAILs. My opinion is gaining compatibility is even easier that fixing Makefile.PL properly :) :) > I reference tclStringTypePtr (8.1+) and tclWideIntTypePtr (8.4+), > but don't actually use them yet, so there is no issue there (they > will be NULL). > > All the object stuff is correct in 8.0. I'm not using the Tcl > unicode routines in Tcl.xs, so there's no issue there. > > Tcl::Tk does have some Tk 8.4 references as well, but I don't > think that's a big deal (for example, labelframe and panedwindow > are both 8.4+ widgets, but if you don't use them, no problem). This sounds very promising... Best regards, Vadim. |