Path: utzoo!attcan!uunet!dev!generous From: generous@dev.dtic.dla.mil (Curtis Generous) Newsgroups: comp.lang.perl Subject: problems with syslog.pl (PL18) Keywords: syslog.pl, problem Message-ID: <3638@dev.dtic.dla.mil> Date: 13 Apr 90 13:48:40 GMT Organization: Defense Technical Information Center (DTIC), Alexandria VA Lines: 27 Relevant info: $Header: perly.c,v 3.0.1.5 90/03/27 16:20:57 lwall Locked $ Patch level: 18 MtXINU More/BSD 4.3 on a VAX. The lateset syslog.pl that was distributed (the one modified by Larry Wall to use sockets) fails quietly if it's unable to local ...lib/perl/syslog.h. I narrowed down the problem down to this line in syslog.pl: do '/usr/local/lib/perl/syslog.h' || die "syslog: Can't do syslog.h: ",($@||$!),"\n"; ^^^^^^^^^ it seems that this is the culprit I'm not real clear as to why it fails, but just replacing with: || die "syslog: Can't do syslog.h: "; at least causes an error message to be displayed. --curtis -- Curtis C. Generous Defense Technical Information Center (DTIC) ARPA: generous@dev.dtic.dla.mil UUCP: {uunet,vrdxhq}!dev!generous