Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Link Tcl to a different tcl.dll on Windows

by jcb (Priest)
on Jan 25, 2020 at 00:42 UTC ( #11111851=note: print w/replies, xml ) Need Help??


in reply to Link Tcl to a different tcl.dll on Windows

Yes, your solution probably removes perl from %PATH% after the BEGIN block. I can think of two reasonable answers at the moment: (both untested)

  1. Move use Tcl; into the BEGIN block and use local when adjusting $ENV{PATH}.
  2. Prepend the Tcl directory to the PATH with $ENV{PATH} = $pathTclBin . ';' . $ENV{PATH}; instead of replacing PATH. (The PATH separator is colon on POSIX and semicolon on Windows.)

Replies are listed 'Best First'.
Re^2: Link Tcl to a different tcl.dll on Windows
by Takamoto (Scribe) on Jan 25, 2020 at 11:29 UTC

    Thank you, jcb. I think prepending the Tcl directory seems to me the best option at the moment!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11111851]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2020-06-07 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (42 votes). Check out past polls.

    Notices?