> On MacOS 10.13.6 I have Perl 5.28 installed in /opt/local/ > using MacPorts. This works well and no problems installing modules using > `cpanm`. I installed ActiveState's v8.6 of Tcl which is saved to > `/Library/Frameworks/Tcl.framework/Versions/8.6` and then installed Tkx. My > problem is I don't know how to make Tkx use the v8.6 version of Tcl/Tk. Here > is how I think I know that it is not. > > $ perl -MTkx -e 'print Tkx::info("patchlevel");' > 8.5.9
IMO this is because activestate ppm for Tkx also installs some packaged version of tcl/tk into perl tree so to guarantee that the module works for my $inc (@INC) { my $tkkit = "$inc/auto/Tcl/tkkit.$Config::Config{so}"; if (-f $tkkit) { $DL_PATH = $tkkit; last; } } > Any tips on how I can wire in the latest > version of Tcl/Tk for Perl usage? If it is on path - and you remove (or hide) tkkit.(dll/so) - then existing tcl/tk should be use