Win32::Lanman can usually not be found via PPM. There is a copy of it at Jenda's repository at http://jenda.krynicky.cz/perl, but when I checked last it was out of date. I would recommend installing it and checking the version. Otherwise, you should go to http://www.cpan.org/authors/id/J/JH/JHELBERG/. For some reason, if you do a search on CPAN for Win32::Lanman, nothing comes up, but if you go to the author's site, there it is. Unpack the ZIP file and find the .ppd file. Then you should be able to use PPM to install the module from the PPD. using that method will ensure that you have the latest version as well.
-----Original Message----- From: Glenn Meyer To: [EMAIL PROTECTED] Sent: 2/6/03 5:51 AM Subject: Win32::Lanman Has Win32::Lanman been eliminated in favor of Win32::NetResource? Trying to use another example from the book "Win32 Perl Programming" ############## Start ######### use Win32::Lanman; my %UseInfo = ( remote => "\\\\main\\gtmeyer"; asg_type => USE_DISKDEV ); if( Win32::Lanman::NetUseAdd( \%UseInfo ) ) { print "Successful!\n"; } else { print Win32::FormatMessage( Win32::Lanman::GetLastError() ); } ########### end ################ I am getting: Can't locate Win32/Lanman.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\WINNT\system32\mapper.pl line 1. BEGIN failed--compilation aborted at C:\WINNT\system32\mapper.pl line 1. When I run 'ppm install win32-lanman' I get: Installing package 'win32-lanman'... Error installing package 'win32-lanman': Could not locate a PPD file for package win32-lanman When I run 'ppm search win32' I get a list of about 50 available package, but the list does not include Win32-Lanman 'ppm set' shows: PPM> set Commands will be confirmed. Temporary files will be deleted. Download status will be updated every 16384 bytes. Case-insensitive searches will be performed. Package installations will continue if a dependency cannot be installed. Tracing info will not be written. Screens will pause after 24 lines. Query/search results will be verbose. Current PPD repository paths: Roth:: http://www.roth.net/perl/packages/ ActiveState Package Repository: http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer Packages will be built under: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp Any thoughts?? Thanks! _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs