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

Reply via email to