I notice the C versions of these function return void and I see no mention of any return values in Sys::Syslog so it might be worth checking the Sys::Syslog code to see if testing the return value is meaningful.
As a point of reference under 4.7-STABLE the following works as expected: #!/usr/bin/perl -w use Sys::Syslog qw(:DEFAULT setlogsock); setlogsock('unix'); openlog('test', 'pid', 'local0'); syslog('notice', 'testing'); closelog(); Andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message