> #! /bin/bash
> # my_bash_script.sh
> 
> eval perl perl_script.pl >&0 &
> read $perl_script_output
> carry on....
> -------------------------

eval perl perl_script.pl | while read ...; do ...; done

Note this will run the while loop in a subshell, which can have nasty
side-effects. Alternatively

while read ...; do
...
done < eval perl perl_script.pl

That last eval might cause some more trouble to overcome.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to