>I have a c program which takes two commandline arguments (both strings) and
>prints out a line. If I use system then I am not able to grab the output of the
>program and if I use backquotes `` then the arguments are also treated as
>commands and I get an error.
> Is there any other way to do this. Ganapathy
try
-------------------------
open(FL, "|$cmd @args");
while (<FL>){
print $_;
}
close (FL);
------------------------
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]