Re: FAQ

2005-07-07 Thread Jeff 'japhy' Pinyan
On Jul 7, madhurima das said: #assign.pl# #!/usr/bin/perl use strict; use warnings; print "enter the first number\n"; my $x = ; chomp $x; print "enter the second number\n"; my $y = ; chomp $y; my $z = system("assign.f",'$x','$y'); Many things wrong here: 1. system() does NOT return the OUTPUT

Re: FAQ

2005-07-07 Thread Muthukumar
Can you try with backtick or qx[ ] ? my $z = `assign.f $x $y`; hth. > Can't exec "assign.f": Permission denied at assign > line 10, line 2. > Output of the two numbers is: > -1 --Muthu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: FAQ

2005-07-07 Thread Thomas Bätzler
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

Re: FAQ

2005-07-07 Thread madhurima das
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

Re: FAQ

2005-07-07 Thread madhurima das
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

Re: FAQ

2005-07-07 Thread madhurima das
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

Re: FAQ

2005-07-06 Thread Jay Savage
On 7/6/05, Chris Devers <[EMAIL PROTECTED]> wrote: > On Wed, 6 Jul 2005, madhurima das wrote: > > > Kindly tell the pseudocode to solve the following > > problem: > > > > An user input is provided to a perl program by > > STDIN. This input is utilised by a fortran program to > > perform some fun

RE: FAQ

2005-07-06 Thread Thomas Bätzler
madhurima das <[EMAIL PROTECTED]> asked: >An user input is provided to a perl program by STDIN. This > input is utilised by a fortran program to perform some > function. How do i connect both the programs & get the output > from the fortran program to the user via the perl program itself. >

Re: FAQ

2005-07-06 Thread Chris Devers
On Wed, 6 Jul 2005, madhurima das wrote: Kindly tell the pseudocode to solve the following problem: An user input is provided to a perl program by STDIN. This input is utilised by a fortran program to perform some function. How do i connect both the programs & get the output from the fortran