summaryrefslogtreecommitdiff
path: root/lib/syslog.pl
diff options
context:
space:
mode:
authorLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1990-08-08 17:06:25 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1990-08-08 17:06:25 +0000
commite929a76b14922a7077596a747fc1fcd1bdd6b9ea (patch)
tree59ab0360573a58aff126a2dfa1d9666ae0fdb2ce /lib/syslog.pl
parent00bf170e31343ccc4fac7a63f6a3acf5e76c3616 (diff)
downloadperl-e929a76b14922a7077596a747fc1fcd1bdd6b9ea.tar.gz
perl 3.0 patch #26 patch #19, continued
See patch #19.
Diffstat (limited to 'lib/syslog.pl')
-rw-r--r--lib/syslog.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/syslog.pl b/lib/syslog.pl
index 46c8c86eda..c98baf32e3 100644
--- a/lib/syslog.pl
+++ b/lib/syslog.pl
@@ -8,7 +8,7 @@
# call syslog() with a string priority and a list of printf() args
# like syslog(3)
#
-# usage: do 'syslog.pl' || die "syslog.pl: $@";
+# usage: require 'syslog.pl';
#
# then (put these all in a script to test function)
#
@@ -29,8 +29,7 @@ package syslog;
$host = 'localhost' unless $host; # set $syslog'host to change
-do '/usr/local/lib/perl/syslog.h'
- || die "syslog: Can't do syslog.h: ",($@||$!),"\n";
+require 'syslog.ph';
sub main'openlog {
($ident, $logopt, $facility) = @_; # package vars