Use two threads. One sits on the console and waits for input. Meanwhile it spawns thread 2 which does all the work. When some input is received it can set a shared variable that thread 2 will notice and thus break out of the loop.
At 01:47 PM 10/6/05 -0700, Su, Yu (Eugene) wrote: ><STDIN> will stop the looping until "Enter" is pressed. I like to see the >program continues running until a key is pressed, some thing likes two >parallel related processes. -- REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=-- "...ne cede malis" 00000100 _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
