in reply to
Re: Non blocking read from the console
in thread
Non blocking read from the console
the ReadKey(-1) (and the underlying system call) is non-blocking. At least OP doesn't hog the CPU as in the SYNOPSIS of
Term::ReadKey
, but uses
usleep
during the active waiting…
Comment on
Re^2: Non blocking read from the console
Download
Code
In Section
Seekers of Perl Wisdom