in reply to Re: Running a C Program within Perl.
in thread Running a C Program within Perl.

You probably don't mean to execute the actual .c file itself ... if memory serves, you'd probably want to run /tmp/example or /tmp/a.out (under UNIX) or /tmp/example.exe (under Windows/DOS).

dmm

Replies are listed 'Best First'.
Re: Re(2): Running a C Program within Perl.
by basicdez (Pilgrim) on Dec 27, 2001 at 21:28 UTC
    You are correct, but how do I do that?

      You probably should read vek's or my original replies to your post a little more carefully.

      dmm

      You can give a man a fish and feed him for a day ...
      Or, you can
      teach him to fish and feed him for a lifetime
        I have done everything that you both suggested, but am still getting the same error. Please help me out if you can. I don't know what else to do on this one and cannot solve this one on my own.