If you are using ActiveState Perl, I believe you can use their PPM (Perl Package Manager) utility to install this module.
At a command prompt, type 'ppm'. This will bring you to a 'ppm>' prompt. Then the command 'install win32::api' should download the proper files and install it for you. (it's been a while since I've used this and I can't test it at the moment to make sure it works). However, if you DO have problems, type 'help' and the PPM will give you a list of commands.
Hope that helps! | [reply] |
Thanks,
I have managed to install the API.pm. Still I get a shout
that the perl, find the FILE, but has a problem with the object! Do you have any idea how to solve this problem.
......
Can't locate loadable object for module Win32::API in @INC (@INC contains: . .\t .\lib ..\lib C:\Perl\site\lib\Win32 C:\Perl\site\lib\Win32API C:/Perl/lib C:/Perl/site/lib) at ..\lib/Win32API/CommPort.pm line 5
......
| [reply] |
Did you only download the module, or did you actually install it?
Read the documentation provided with the module. The least you probably have to do is: perl Makefile.PL
make
make test
make install
To get things running!
| [reply] [d/l] |
I have run the makefile.pl but hadn't run the test and the install. here is the command and part of the reaction:
perl install.pl
...
Installing C:\Perl\site\lib\Win32\API.pm
Skipping C:\Perl\site\lib\Win32API\CommPort.pm (unchanged)
Installing C:\Perl\site\lib\Win32API\API.pm
Writing C:\Perl\site\lib/auto/Win32/SerialPort/.packlist
...
Now that I did so, I still get the 'shout':
Can't locate loadable object for module Win32::API in @INC
(@INC contains: . .\t .\lib ..\lib C:\Perl\site\lib\Win32
C:\Perl\site\lib\Win32API C:/Perl/lib C:/Perl/site/lib)
at ..\lib/Win32API/CommPort.pm line 5
Pay attention that the perl, fing the FILE, it has a problem with the object! Do you have any ide how to solve this problem.
| [reply] |