If it only happens when you import both Win32 and Win32::Lanman, maybe the
problem is what CPAN calls "namespace pollution." If you need both, try
specifying an import list for one of them, only importing the modules you
want. Or an empty import list (e.g.

use Win32 ();

) and fully-qualify subroutine names for the subroutines you want.

Tom Wyant




Timothy Johnson <[EMAIL PROTECTED]>@listserv.ActiveState.com on
03/31/2003 01:36:08 AM

Sent by:    [EMAIL PROTECTED]


To:    "'Raymond Forbes'" <[EMAIL PROTECTED]>,
       [EMAIL PROTECTED]
cc:
Subject:    RE: Win32::Lanman



I get that too, but I've noticed that I only get it when I use
Win32::Lanman
and Win32 in the same script.  I've just stopped using Win32 unless I have
to.

-----Original Message-----
From: Raymond Forbes [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 2:37 PM
To: [EMAIL PROTECTED]
Subject: Win32::Lanman


ok, so i am using activestate perl 5.6.1 and i am trying to use the
lanman module i got from here...

http://cpan.valueclick.com/authors/id/J/JH/JHELBERG/

i have tried both lanman1.0.10.0 and 1.0.9.1.

 the problem is, whenever i run a script using this module i get a WHOLE
bunch of error messages.  now, everything seems to work but i am curious
what this means.

Prototype mismatch: sub main::DACL_SECURITY_INFORMATION () vs none at
C:/Perl/li
b/Exporter.pm line 57.
        Exporter::import('NET_INFO_DESCRIPTION',
'NET_STATUS_DESCRIPTION', 'SERV
ICE_CONTROL_DESCRIPTIONS', 'SERVICE_STATE_DESCRIPTIONS',
'SERVICE_CONTROLS', 'SE
RVICE_START_TYPES', 'SERVICE_ERROR_TYPES', 'SC_FAILURE_ACTIONS', ...)
called at
C:\dev\ioactive\ioactive.pl line 3
        main::BEGIN() called at C:/Perl/site/lib/Win32/Lanman.pm line 3
        eval {...} called at C:/Perl/site/lib/Win32/Lanman.pm line 3
Prototype mismatch: sub main::GROUP_SECURITY_INFORMATION () vs none at
C:/Perl/l
ib/Exporter.pm line 57.
        Exporter::import('NET_INFO_DESCRIPTION',
'NET_STATUS_DESCRIPTION', 'SERV
ICE_CONTROL_DESCRIPTIONS', 'SERVICE_STATE_DESCRIPTIONS',
'SERVICE_CONTROLS', 'SE
RVICE_START_TYPES', 'SERVICE_ERROR_TYPES', 'SC_FAILURE_ACTIONS', ...)
called at
C:\dev\ioactive\ioactive.pl line 3
        main::BEGIN() called at C:/Perl/site/lib/Win32/Lanman.pm line 3
        eval {...} called at C:/Perl/site/lib/Win32/Lanman.pm line 3
Prototype mismatch: sub main::OWNER_SECURITY_INFORMATION () vs none at
C:/Perl/l
ib/Exporter.pm line 57.
        Exporter::import('NET_INFO_DESCRIPTION',
'NET_STATUS_DESCRIPTION', 'SERV
ICE_CONTROL_DESCRIPTIONS', 'SERVICE_STATE_DESCRIPTIONS',
'SERVICE_CONTROLS', 'SE
RVICE_START_TYPES', 'SERVICE_ERROR_TYPES', 'SC_FAILURE_ACTIONS', ...)
called at
C:\dev\ioactive\ioactive.pl line 3
        main::BEGIN() called at C:/Perl/site/lib/Win32/Lanman.pm line 3
        eval {...} called at C:/Perl/site/lib/Win32/Lanman.pm line 3
Prototype mismatch: sub main::SACL_SECURITY_INFORMATION () vs none at
C:/Perl/li
b/Exporter.pm line 57.
        Exporter::import('NET_INFO_DESCRIPTION',
'NET_STATUS_DESCRIPTION', 'SERV
ICE_CONTROL_DESCRIPTIONS', 'SERVICE_STATE_DESCRIPTIONS',
'SERVICE_CONTROLS', 'SE
RVICE_START_TYPES', 'SERVICE_ERROR_TYPES', 'SC_FAILURE_ACTIONS', ...)
called at
C:\dev\ioactive\ioactive.pl line 3
        main::BEGIN() called at C:/Perl/site/lib/Win32/Lanman.pm line 3
        eval {...} called at C:/Perl/site/lib/Win32/Lanman.pm line 3
_______________________________________________
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





This communication is for use by the intended recipient and contains 
information that may be privileged, confidential or copyrighted under
applicable law.  If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited.  Please notify the sender
by return e-mail and delete this e-mail from your system.  Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer.  This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.

 Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

            http://www.DuPont.com/corp/email_disclaimer.html


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to