in reply to
execute a C program through PerlCGI
Hi,
If your C program is called c_program, just use the following.
my $output=qx/c_program/;
[download]
system() returns the exit status from a command, not it's output. See perldoc -f system.
cheers
thinker
Comment on
Re: execute a C program through PerlCGI
Download
Code
In Section
Seekers of Perl Wisdom