Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Term::ReadKey problem!

by strat (Canon)
on Jun 15, 2006 at 11:32 UTC ( #555472=note: print w/replies, xml ) Need Help??

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."

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 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."

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2016-10-24 03:57 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.