http://www.perlmonks.org?node_id=951166


in reply to Re^3: Ask for STDIN but don't pause for it
in thread Ask for STDIN but don't pause for it

same problem sysread doesn't solve. It seems a matter of not blocking can_read. Did you manage to have it working?

  • Comment on Re^4: Ask for STDIN but don't pause for it

Replies are listed 'Best First'.
Re^5: Ask for STDIN but don't pause for it
by Anonymous Monk on Feb 02, 2012 at 09:19 UTC

    It works on Linux, it doesn't on Windows XP. Do you know why? thank you

      Because cmd.exe is not bash, or csh, or ..... there is a reason abstractions such as Curses/Term::Readline::Gnu were invented