Just a guess - but I suspect Win32::Daemon::Simple requires Winn32::Daemon.
Try putting a
use Win32::Daemon;
line above the
use Win32::Daemon::Simple;
Regards,
Phil Morley
|---------+----------------------------------------------->
| | [EMAIL PROTECTED] |
| | Sent by: |
| | [EMAIL PROTECTED]|
| | veState.com |
| | |
| | |
| | 03/12/02 11:22 |
| | |
|---------+----------------------------------------------->
>------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Win32::Daemon::Simple problem
|
>------------------------------------------------------------------------------------------------|
Hi,
I'm trying to use that module, and I get the following error:
Global symbol "$HKLM" requires explicit package name at
E:/Perl/site/lib/Win32/Daemon/Simple.pm line 49.
and some more of the same with just this (no code yet)
use FindBin qw($Bin $Script);
use File::Spec;
use Win32::Daemon::Simple
Service => 'IISLogs',
Name => 'fetches IIS Logs',
Version => '0.10',
Params => {
Tick => 0,
Talkative => 0,
Interval => 10, # minutes
LogFile => "Systemroot/blah",
Description => <<'*END*',
Tick : (0/1) controls whether the service writes a "tick" message to
the log once a minute if there's nothing to do
Talkative : controls the amount of logging information
Interval : how often does the service look for new or modified
files
(in minutes)
LogFile : the path to the log file
...
*END*
};
What does the error mean? Did someone use that module already and could
give
me an example on it's use?
regards, Lars
_______________________________________________
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