Hi Guys,

I want to capture the return value of a "C" program
called inside a perl script. How to do this??

Let say I have a "C" program named "val_100.c" .

//val_100.c
#include <stdio.h>
int main()
{
  return 100;
}

I want to call this program from a perl script and
want to store the return value "100" in the perl
script. (Please note that I do not want to capture the
running status of the program).

Please guide me how to do this in a perl script.

Thanks and regards
Ambikesh


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

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


Reply via email to