How to handle input and output of a program executed by System function in perl

From: zw (zw_at_cs.man.ac.uk)
Date: 07/18/04


Date: 18 Jul 2004 13:31:16 -0700

Could anybody tells me how to handle input and output of a program
executed by System function in perl, please? I used a system function
defined in a perl script to call a program such as a Java or C program
to run and then I want to capture the return result from this Java or
C program to a local variable defined in this perl script.



Relevant Pages

  • Re: files download and performance
    ... I execute perl script which performs a search in a public database. ... From the Java i read each of the 70.000 links and i create a new file ...
    (perl.beginners)
  • Re: How to connect Java and Perl ?
    ... way to call a perl script, giving it some string as input? ... Now, if that is possible, how about calling a perl function directly ... called from java to make callbacks into java? ... " Write CGI programs in Java, Learn how to program the server side of your Web applications through Java" ...
    (comp.lang.java.programmer)
  • Re: How to connect Java and Perl ?
    ... way to call a perl script, giving it some string as input? ... Now, if that is possible, how about calling a perl function directly ... called from java to make callbacks into java? ...
    (comp.lang.java.programmer)
  • Re: How to handle input and output of a program executed by System function in perl
    ... >> executed by System function in perl, ... >> defined in a perl script to call a program such as a Java or C program ... >> C program to a local variable defined in this perl script. ...
    (comp.lang.perl.modules)
  • Re: "system" command help
    ... >> The system function call returns a boolean value as return value, ... > some Perl documentation. ... > means systemand the command it invoked ran successfully. ...
    (perl.beginners)