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/;
system() returns the exit status from a command, not it's output. See perldoc -f system.

cheers

thinker