in reply to need to read/write from/to an external program
See perldoc perlipc, particularly the section on Bidirectional Communication with Another Process.
<http://dave.org.uk>
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg