Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Ask for STDIN but don't pause for it

by Kc12349 (Monk)
on Sep 26, 2011 at 20:56 UTC ( #927947=note: print w/ replies, xml ) Need Help??


in reply to Ask for STDIN but don't pause for it

You might take a look at a terminal module like Term::ReadKey to get started. I would run a loop, timer, or event architecture to periodically check for input and react accordingly.

Should you want to go down the event route, AnyEvent bills itself as the DBI of event processing and is a good place to start.


Comment on Re: Ask for STDIN but don't pause for it
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://927947]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (17)
As of 2014-08-29 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls