AvignonHermit has asked for the wisdom of the Perl Monks concerning the following question:
If I move it to a subroutine I encounter the error:Win32::Lanman::EnumServicesStatus("\\\\$host","",&SERVICE_WIN32,&SERVI +CE_STATE_ALL,\@services)
I'm declaring LanMan with: use Win32::Lanman;Undefined subroutine &main::SERVICE_WIN32 called at D:\scripts\rcmd\rc +mdDisable.pl line 94.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::LanMan
by AvignonHermit (Initiate) on May 29, 2003 at 19:18 UTC | |
|
Re: Win32::LanMan
by Jenda (Abbot) on Jun 25, 2003 at 19:17 UTC |