madhurima das <[EMAIL PROTECTED]> asked:
> Thanks for the reply sir. But i am still stuck with the same 
> old problem since the system() function isn't working & the 
> manpages aren't of much help either.

system() won't work the way you want to use it. From the manpage:
"The return value is the exit status of the program as returned
by the wait call."

Passing the arguments the way you do also doesn't work because
your Fortran code expects to read them from standard input.

This looks like a job for open2 or the expect module.

HTH,
Thomas

-- 
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