Using Term::Readkey on Windows

How can I install and use Term::Readkey module on the Windows XP?

I Copied it to the direcory c:\Perl\lib\Term

But when I run my programm ,I received an error:

Can't locate loadable object for module Term::ReadKey in @INC (@INC contains: C:
/Perl/lib C:/Perl/site/lib .) Compilation failed in require at line 17.

this line mean use Term::ReadKey;

Maybe it doesn't work on windows ?
Thanks for help

Who is Participating?
jmcgConnect With a Mentor OwnerCommented:
The Term::ReadKey module is not pure perl; it contains a .xs file written C that must be compiled to connect Perl with the underlying terminal I/O system. You cannot install it by merely copying files.

On Windows, if you are using ActivePerl, you'd install Term::ReadKey by running a command like:

ppm install TermReadKey

to install the pre-compiled package.
your error is coming because it can;t find the proper file. The complete path of the file as required should be

how did you install the module??
Also, visit

For method defined in the module, the page explains how they work in Windows environment
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Irina_dushaAuthor Commented:

I just copyed to the C:/Perl/lib/Term this file ,but this is not help me ,the same error
Can you give me the full pathname of the file as seen on your system?? i.e c:\perl\so\and\so\Term\
Irina_dushaAuthor Commented:
Thanks ,jmcg
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.