Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2017-11-25 09:41 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (355 votes). Check out past polls.