in reply to Re: How do I use a module?
in thread How do I use a module?

Unsuccessful steps.

  1. Ran cpan install Win32::Clipboard: The installation appeared to be successful, but the Error: Can't locate loadable object for module Win32::Clipboard remained.
  2. I removed Clipboard.pm from the \perl\lib folder, then tried cpan install Win32::Clipboard again. This time, it failed to install, with error Failed 1/1 test programs. 1/9 subtests failed.


Why dont you post the full log? You obviously aren't compiling C code.

Am I using the .xs file in the intended manner? My guess would be that the .xs file might be a version of the pm file, made for people that don't have C++ on their systems. Is it supposed to be renamed as a .pm file, or am I doing something weird?

I suggest you read that .xs file and decide if it written in Perl language or not and report back with your answer ;)