Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by jcb (Parson)
on Jan 25, 2020 at 00:42 UTC ( [id://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 (Monk) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111851]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2024-04-23 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found