jcsoybomb has asked for the wisdom of the Perl Monks concerning the following question:
While (1) { # Do work here... $keyPressed = CatchTheInput(); # This is where I'm stuck if( $keyPressed =~ /[Vv]/ ){ $verbosity++; } if( $keyPressed == spacebar ){ GiveProgressReport(); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Capture keypress while process running
by BrowserUk (Patriarch) on Jul 31, 2009 at 16:57 UTC | |
by jcsoybomb (Initiate) on Jul 31, 2009 at 18:18 UTC | |
by Anonymous Monk on Oct 05, 2013 at 22:13 UTC | |
|
Re: Capture keypress while process running
by Anonymous Monk on Jul 31, 2009 at 16:43 UTC |