Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

I got it working now.

by basicdez (Pilgrim)
on Dec 28, 2001 at 01:22 UTC ( [id://134727]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://134727]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found