Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Installing Perl Modules on a PC?

by hawtin (Prior)
on Aug 04, 2005 at 14:00 UTC ( [id://480830]=note: print w/replies, xml ) Need Help??

in reply to Installing Perl Modules on a PC?

I had to do this today (new laptop running XP rather than Win 2000). Previously I had a 5.6 but I decided to move up to 5.8. What I found was that I needed to also set an environment variable to get Term::ReadKey to work for me. I set TERM to dumb in the System control panel and everything seems to be working again.

Replies are listed 'Best First'.
Re^2: Installing Perl Modules on a PC?
by gellyfish (Monsignor) on Aug 04, 2005 at 14:23 UTC

    I'd be surprised by this, Term::ReadKey itself does not reference $ENV{TERM} at all and uses a lower level device interface (POSIX termios mostly, but the Console interface on windows) that doesn't need to know what the terminal type is, particularly on Windows where there is no real notion of varying terminal types. I can only assume that you are also using some other module that does care about the terminal type.

    Of course if you are convinced of this I would love for you to send me some test code that demonstrates this so I can work out what is going on and fix it.


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-23 02:11 GMT
Find Nodes?
    Voting Booth?

    No recent polls found