Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-11-30 04:17 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (757 votes), past polls