in reply to I got it working now.
in thread Running a C Program within Perl.

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