Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
PERL EVENT Handling from a Running Program....

New User

May 16, 2005, 11:18 AM

Views: 1306
PERL EVENT Handling from a Running Program....

I need to write a script in Perl or Shell.... that idles, but when an event occurs, some action is triggered.

In my case EVENT is a text based DTMF decoder. A program that takes sound card input and listends for DTMF tones.

Basically a program would be running in the background waiting for input and when it hears sound it would print out a string of numbers "12321321488998090".

I need the script to capture the output from that program and do some actions.

To me it sounds like Event handling. Can someone direct me to examples of how this can be done. I am sure it is very doable.

Thank you a lot!