in reply to Run C prog. from perl script
Using backticks allows you to collect output, as described in the system documentation.