diff options
author | Alexey Tourbin <at@altlinux.ru> | 2005-06-26 12:32:05 +0400 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-27 15:22:58 +0000 |
commit | db9f82cf4d211df67e3329aa871893615e2a77ed (patch) | |
tree | 07ac1a0941f4f3f67ef8e4f9c265031862e7e34e /ext/Sys | |
parent | cb758ed8b81dc1d2e23689101db4212af57feb38 (diff) | |
download | perl-db9f82cf4d211df67e3329aa871893615e2a77ed.tar.gz |
XSLoader for Sys::Syslog
Message-ID: <20050626043204.GA31585@solemn.turbinal.org>
p4raw-id: //depot/perl@24993
Diffstat (limited to 'ext/Sys')
-rw-r--r-- | ext/Sys/Syslog/Syslog.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/Sys/Syslog/Syslog.pm b/ext/Sys/Syslog/Syslog.pm index f38238b377..7581bcbd8a 100644 --- a/ext/Sys/Syslog/Syslog.pm +++ b/ext/Sys/Syslog/Syslog.pm @@ -1,14 +1,13 @@ package Sys::Syslog; require 5.006; require Exporter; -require DynaLoader; use Carp; use strict; -our @ISA = qw(Exporter DynaLoader); +our @ISA = qw(Exporter); our @EXPORT = qw(openlog closelog setlogmask syslog); our @EXPORT_OK = qw(setlogsock); -our $VERSION = '0.06'; +our $VERSION = '0.07'; # it would be nice to try stream/unix first, since that will be # most efficient. However streams are dodgy - see _syslog_send_stream @@ -175,7 +174,8 @@ sub AUTOLOAD { goto &$AUTOLOAD; } -bootstrap Sys::Syslog $VERSION; +require XSLoader; +XSLoader::load('Sys::Syslog', $VERSION); our $maskpri = &LOG_UPTO(&LOG_DEBUG); |