> Hi
> 
> I am trying to control to start an octave process where I can write
> to it read the output back into perl. 
> 
> For example I would like to :
> 
> 1 - Start octave
> 2 - Write a=1 b=2. Read output into perl
> 3 - Write a+b. Read output into perl and so on.
> 
> Could someone please help me do this.
> 
> Thanks
> 

Have a look at the following docs, 

perldoc perlipc
perldoc IPC::Open3
perldoc IPC::Open2
perldoc perlopentut

See if they help. In general the above will allow you to avoid messing
with setting up your own pipes, etc. but still allow you to read/write
to a process.  If they don't work you can get lower level but start
there first.

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to