On 21 Oct 2005 05:51:48 -0700, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi there,
Hi Andy, I have just been getting into the wonderful programming language that > is PERL, having used things like Visual Basic, Visual FoxPro and even We say "Perl" not "PERL" :) BASIC and COBOL professionally! > > 1 - I have played about with the CPAN program which does seem to > wonderfully do something, if I issue the "install Device::Modem" > command. It goes away and appears to get all the relevent stuff from > the Internet, unpack it and install the package - but where? Indeed use the file search utility on your machine to find Modem.pm<http://Modem.pm> doing it again in CPAN gives "Device::Modem is up to date." > > I tried to use it in my program, and get: > > "Can't locate Device/Modem.pm in @INC", (I'm using the default @INC of > c:/perl/lib and c:/perl/site/lib) this led me to the second problem.... > > > 2 - I copied the source down individually (finding the relevent > dependencies one-by-one) and saved the relevent .pm in the correct > folder under c:/perl/site/lib, but hit another wall with API.pm giving > a "Can't locate loadable object for module Win32::API in @INC", despite > the fact it exists, it's obviously telling me something else, but what? I spent 5-10 minutes googling "Can't locate loadable object for module" before I found a good source of information. It seems that the C library part (the .dll - dynamically loadable library) was not installed. I'm betting the docs at search.cpan.org <http://search.cpan.org> have windows/activestate install instructions. The link below was also helpful. http://groups.google.com/group/comp.lang.perl.misc/browse_thread/thread/36822ad076a96681/7c0fa163446b0852%237c0fa163446b0852?sa=X&oi=groupsr&start=0&num=3 In summary, could someone tell me: > > 1 - In simple, step-by-step terms, how I can use the CPAN program to > install modules, and use them in my programs. I dont know - I used Cygwin and pure Perl (non-activestate) when I used windows. If I went back to windows, I would use Perl under VMware. 2 - What's wrong with my API.pm? the .dll is missing, I'm pretty sure. I'm looking forward eagerly to your replies! > > Cheers > Andy Burgess > > >