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…