i have a c program that I want to just run from perl and capture output

I would have thought

my $c_output = `/tmp/c_program`;

would get me the output of the program.

instead it prints out to the screen.

Is there way to redirect STOUT just for that line and put it back to normal?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/



Reply via email to