Re: Sys::Syslog - RESOLVED, sorta...
From: Beau E. Cox (beau_at_beaucox.com)
Date: 11/25/03
- Next message: Robert Brown: "Re: dbmopen compatibility from perl 5.6 to 5.8"
- Previous message: Wiggins D'Anconia: "Re: dbmopen compatibility from perl 5.6 to 5.8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: beginners@perl.org Date: Mon, 24 Nov 2003 18:19:30 -1000
Hi -
Switched to Unix::Syslog ->
#!/usr/bin/perl
use strict;
use warnings;
use Unix::Syslog qw(:macros); # Syslog macros
use Unix::Syslog qw(:subs); # Syslog functions
openlog $0, LOG_CONS | LOG_PID, LOG_USER;
syslog LOG_ERR, 'test error msg';
closelog;
Works fine. I have no idea why Sys::Syslog doesn't, but
I'm moving on.
Thanks Wiggins and dave for your input.
Aloha => Beau;
- Next message: Robert Brown: "Re: dbmopen compatibility from perl 5.6 to 5.8"
- Previous message: Wiggins D'Anconia: "Re: dbmopen compatibility from perl 5.6 to 5.8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]