Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 chanting in the Monastery: (4)
As of 2017-06-25 11:17 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (567 votes). Check out past polls.