in reply to Re^4: making tcl.pm and Tcl movable
in thread making tcl.pm and Tcl movable

Did you dump @INC and $ENV{PATH} to be sure that the path to system TCL comes after bundled TCL?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^6: making tcl.pm and Tcl movable
by Anonymous Monk on Nov 19, 2018 at 23:54 UTC

    Hi Land

    I add it this way

    BEGIN { my $frameworkpath; $frameworkpath = "$Bin/Frameworks/Tcl.framework/Tcl"; $ENV{'PERL_TCL_DL_PATH'} = $frameworkpath; }

    it is not in $ENV{PATH}, as tcl.pm reads $ENV{'PERL_TCL_DL_PATH'}, am I right? Frameworks are in the same folder as the script.

      Please also note that I have not instructed tcl.pm - while installing it - of the existence of these frameworks.