in reply to reading output from another script
I'd suggest looking into IPC::Open2 and IPC::Open3 they allow you to run your script from within the monitor and use the scripts STDIN, STDOUT, and STDERR as file handles.
-----------------------------------
Frank Wiles <frank@wiles.org>
http://frank.wiles.org
|
---|
In Section
Seekers of Perl Wisdom