Re: interfacing with Perl script
- From: Janis Papanagnou <janis_papanagnou@xxxxxxxxxxx>
- Date: Sun, 09 Nov 2008 12:12:23 +0100
ela wrote:
"Janis Papanagnou" <janis_papanagnou@xxxxxxxxxxx> wrote in message news:gf6f57$sg9$1@xxxxxxxxxxxxxxxxxxxx
for (( i = 1 ; i <= 19; i++ ))
do
ref=$i;
#
based on the generated file & takes the statistics on it
$numarray="perl $ref.output";
done
#
print the statistics into a file
print OUTFP $numarray;
e.g.
file 1
66\t38\n
61\t33\n
87\t20\n
file 2
...
then I'll use excel to plot a graph
#
The most important things to achieve are to write some codes to let my perl program work to interface with the results generated. I don't know how the perl results can return an array to the shell script (I wanna avoid IO) .
And how do you think would it be possible that two independent processes
communicate if not by I/O?
You have to print the data or use a file or use any of the other available
IPC methods; all solutions mean to do some form of I/O.
If you don't want that use an integrated programming language or a language
that supports plugins for the languages you want.
Janis
.
- References:
- interfacing with Perl script
- From: ela
- Re: interfacing with Perl script
- From: Janis Papanagnou
- Re: interfacing with Perl script
- From: ela
- interfacing with Perl script
- Prev by Date: Re: interfacing with Perl script
- Next by Date: Re: tar archiving with base name only [slightly OT]
- Previous by thread: Re: interfacing with Perl script
- Index(es):
Relevant Pages
|