Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 imbibing at the Monastery: (10)
As of 2015-07-07 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls