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 they do, it reads those files and does >some work with them. > >...BUT... -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs