Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I've been debugging my script for an hour now, and have run into a wall. I get the following error:
C:\Perl>a2.pl Can't locate loadable object for module Win32::API in @INC(@INC contai +ns: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/Win32API/Comm +Port.pm line 5 Compilation failed in require at C:/Perl/site/lib/Win32API/CommPort.pm + line 5. BEGIN failed--compilation aborted at C:/Perl/site/lib/Win32API/CommPor +t.pm line5. Compilation failed in require at C:/Perl/site/lib/Win32/SerialPort.pm +line 4. BEGIN failed--compilation aborted at C:/Perl/site/lib/Win32/SerialPort +.pm line 4.
Any suggestions...?

Title edit by tye

Replies are listed 'Best First'.
Re: Error Message
by Anonymous Monk on Aug 09, 2002 at 01:19 UTC
    Never Mind, I just solved my own problem (I was missing a dll for the API module) Sorry!
      I get the same error message. Which dll do I need?
        Just got done sovling this problem. Here's what you do. Type "ppm" don't know what it is or what it does, but it makes things work. type "install win32-api" It should then exstract stuff and load stuff. Type "q" to exit. should work.