Subject: | logging to syslog broken |
The Log subroutine attempts to log to syslog. However, it fails with the error: Undefined subroutine &Sys::Syslog::syslog called at /usr/lib/perl5/site_perl/5.8.3/Net/Daemon/Log.pm line 118.
By preceding the call with the following code, the error is eliminated:
eval { require Sys::Syslog };
if ($@) {
die "Cannot open Syslog: $@";
}
-- John Wingenbach