JDoolin has asked for the wisdom of the Perl Monks concerning the following question:
I just downloaded my first module that wasn't part of the original build. It's called Win32::Clipboard.
I saved the file, Clipboard.pm to C:\strawberry\perl\lib\Win32\Clipboard.pm
I had to create the win32 subdirectory to put it there. Then I put use Win32::Clipboard; in my code, on line 5.
When I run it, the error is as follows: Can't locate loadable object for module Win32::Clipboard in @INC (@INC contains: C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at cp.plx line 5.
I tried several things; using Win32.pm, looking for other supplemental files associated with Clipboard, moving Clipboard around to other directories, running something called ppm to install win32-Clipboard, but it said "Error installing package 'win32-Clipboard': Could not locate a PPD file for package win32-Clipboard"
Any ideas?
Thanks,
Jonathan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I use a module?
by bulk88 (Priest) on Mar 25, 2014 at 04:16 UTC | |
|
Re: How do I use a module?
by ww (Archbishop) on Mar 25, 2014 at 01:57 UTC | |
|
Re: How do I use a module?
by davido (Cardinal) on Mar 25, 2014 at 22:20 UTC | |
by Anonymous Monk on Mar 25, 2014 at 22:24 UTC | |
|
Re: How do I use a module?
by JDoolin (Novice) on Mar 26, 2014 at 12:29 UTC | |
by bulk88 (Priest) on Mar 27, 2014 at 02:59 UTC | |
by Anonymous Monk on Mar 27, 2014 at 03:23 UTC | |
|
Re: How do I use a module?
by Anonymous Monk on Mar 25, 2014 at 15:42 UTC |