Hi all, I'm developing a simple application using Tcl and perl. I had installed perl and Tcl on my Machine(runs on Windows 2000) with active perl and Tcl installation packages. Now I was looking for most simplest way to install TCL and perl on a new machine so that my application can be used on it. To do so i simply copied the folders perl and Tcl from my systems Root and pasted it on the new machine. Then created file type association for .pl,.pm as perl.exe and wish85.exe for .tcl using assoc and ftype in dos prompt. And finally updated the environment variable using AUTOEXEC.BAT. When tried running my application it was not performing as expected. So when debugged it I found that the argumnets which i was sending from Tcl (.tcl file) to perl(.pl file) were not getting passed. I used the below looking like code to do so.
open(my_perl, "|perl_file.pl $variable1 $variable2"); close(my_perl); #this was working fine in my machine where i had initially developed m +y application.
So my question is, Where did I go wrong. was it with the way I installed perl in new Machine or the Way i'm passing arguments to my perl file.

In reply to Installation of perl by prashanth_hsn

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.