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


in reply to Term::ReadKey problem!

IO::Prompt might be interesting for you

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Replies are listed 'Best First'.
Re^2: Term::ReadKey problem!
by Ace128 (Hermit) on Jun 15, 2006 at 14:49 UTC
    Runing the example provided by the module:
    use IO::Prompt; use strict; use warnings; while( prompt "next: " ) { print "You said '$_'\n"; }
    gives: Cannot write to terminal: No such file or directory at ioPromptTests.pl line 2

    In windows XP...

      Sorry, I forgot to check it under windows as well. But since it uses /dev/tty, it won't run :-(

      Best regards,
      perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"