RE: [tcltk-perl] Code for Tcl mainloop routines
Brought to you by:
hobbs
From: Jeff H. <je...@Ac...> - 2005-05-26 03:08:41
|
Konovalov, Vadim wrote: > > >>In my opinion, this is perl/Tk's fault in a name clash. > > if (DEBUG()) { > > # The gestapo throws warnings whenever Perl/Tk modules are > > requested. > > # It also hijacks such requests and returns an empty > > module in its > > # place. > > > > unshift @INC, \&tk_gestapo; > > } > > With all the respect, this code is useful and able to help to > develop perl/Tk compatibility within Tcl::Tk, but have little > to do with a coexistance problem, when using both modules > results in segmentation fault. Hmmm, I will disagree because if we see the coexistence as an insurmountable bug, the above is a valid work-around. The question is whether it is possible to support Tcl.pm and Perl/Tk loaded simultaneously. If that's fundamentally not in the cards (Stephane's option of renaming all the functions is a bit extreme), then this at least prevents crashes, right? Jeff |