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.
Giving below an account of what my programs are & their output: ####PERL PROGRAM#### #assign.pl# #!/usr/bin/perl use strict; use warnings; print "enter the first number\n"; my $x = <STDIN>; chomp $x; print "enter the second number\n"; my $y = <STDIN>; chomp $y; my $z = system("assign.f",'$x','$y'); print "Output of the two numbers is:\n"; print $z,"\n"; exit; #output# >$perl assign.pl enter the first number 2 enter the second number 4 Can't exec "assign.f": Permission denied at assign line 10, <STDIN> line 2. Output of the two numbers is: -1 #####FORTRAN PROGRAM##### c assign.f WRITE(*,*) "ENTER FIRST NUMBER" READ(*,*) x WRITE(*,*) "ENTER SECOND NUMBER" READ(*,*) y z = x+y WRITE(*,*)z END #output# >$g77 assign.f >$ ./a.out ENTER FIRST NUMBER 2 ENTER SECOND NUMBER 4 OUTPUT OF THE TWO NUMBERS IS: 6. Can you suggest sir what should be my approach to this problem. Waiting for an early response from you. Thanking you.. _______________________________________________________ Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://in.mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>