the description I have is that they need to ship a perl script to several machines (Mac). The script calls TCL through tcl.pm which is going to be shipped too (I guess Perl and tcl.pm will be packed with PAR or something similar, executable and Tcl in a zip file). Also, they will pack alTcl and need the script to call that precise binary of Tcl and no others.

I have tryed to understand the logic behind tcl.pm, as far as the linking to Tcl is concerned, but without much success. It works out of the box for the local Tcl installation it finds when it is installed, but I fail to twik it completely. Hope it is more clear what I am trying to achieve. With Tkx.pm it seems to be possible to pass at run time the location of Tcl that a Perl script should be used. Tcl.pm doesn't seem to allow the same, nor the hardcoding of a particular location relative to itself (with the goal of having my packed script a Tcl in a directory and move it around, from machine to machine and so on).


In reply to Re^2: making tcl.pm and Tcl movable by Anonymous Monk
in thread making tcl.pm and Tcl movable by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.