I would use Term::ReadKey to to do non blocking reads in this situation. It
even accepts drag and drop file names while in the background.
At 04:21 PM 2/5/2010 -0800, Barry Brevik wrote:
>I am writing an app that continously loops looking for files to appear
>in a certain directory, and when the
I am writing an app that continously loops looking for files to appear
in a certain directory, and when they do, it reads those files and does
some work with them.
...BUT...
...the app also needs to watch for keystrokes in a non-blocking way. If
a key is waiting, it can do something with it and