Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.

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 musing on the Monastery: (8)
As of 2016-09-26 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (483 votes). Check out past polls.