
vitoal18t
New User
May 16, 2005, 11:23 AM
Post #1 of 1
(828 views)
|
Need Help with PERL waiting for input from a background program
|
Can't Post
|
|
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!
|