in reply to how to implement interprocess communication
The very easiest way to do this would be with signals (depending on your OS) I would start with the perlipc manpage.
/J\