Chas. Owens wrote:
On Sun, Nov 30, 2008 at 00:52, Richard <[EMAIL PROTECTED]> wrote:
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.
On Sun, Nov 30, 2008 at 00:52, Richard <[EMAIL PROTECTED]> wrote:
> 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
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 unsubs