http://qs321.pair.com?node_id=134727


in reply to Running a C Program within Perl.

Thanks to dmmiller2k and all of the others who helped me with this. The problem was that perl was looking for a bourne shell program and I was trying to run a korne shelle script. Once again, I will NOT make that mistake ever again. I feel both knowledgable and empowered. Thanks perl monks....

Happy new Year to everyone.

Replies are listed 'Best First'.
Re: I got it working now.
by dmmiller2k (Chaplain) on Dec 28, 2001 at 01:42 UTC

    You're quite welcome.

    Lesson for the day: never field a shell script without a shebang line!

    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
Re: I got it working now.
by Fastolfe (Vicar) on Dec 29, 2001 at 09:34 UTC
    For the record, I think a lot of difficulty figuring out this problem stemmed from the fact that you kept referring to the target as a "C program" when it was in fact a shell script.