Re: interfacing with Perl script



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
.



Relevant Pages

  • Re: Male and Female IQs
    ... IQ tests have always been problematic because of language and social barriers, perhaps there is also a "gender barrier". ... problem for statistics is the difference between causation and correlation. ... In this study, a correlation was found between IQ and gender, but without knowing more about the study, we can't determine any causation. ... 800,000 Lebanese are refugees from Israeli aggression. ...
    (sci.skeptic)
  • Re: Software effectiveness
    ... ie. how well does a doctor or nurse speak Spanish? ... This sort of assessment is usually ... > the statistics lingos? ... This will help me find the right language to ...
    (sci.stat.math)
  • Re: Male and Female IQs
    ... http://www.news.com.au/dailytelegraph/opinion/story/0,22049,20427422-5001031,00.html Also, maybe IQ tests are skewed towards males. ... IQ tests have always been problematic because of language and social barriers, perhaps there is also a "gender barrier". ... problem for statistics is the difference between causation and correlation. ... At worst this says "not quite the same" and if so a meaningless difference. ...
    (sci.skeptic)
  • Re: A stats library (announcement)
    ... >>> No problem with SPEAKEASY. ... >>> statistics, physics, and many other related areas., cncompassing ... >> What statistical analyses is it capable of? ... > Because it is not a statistical package, but a powerful language, it ...
    (sci.stat.math)
  • Re: Male and Female IQs
    ... I have taken many and IQ test which required a very good understanding of the native language to score well on. ... Do tests written by men/women tend to a bias toward/against a given gender. ... problem for statistics is the difference between causation and correlation. ... At worst this says "not quite the same" and if so a meaningless difference. ...
    (sci.skeptic)