[comp.lang.perl] problems with syslog.pl

generous@dev.dtic.dla.mil (Curtis Generous) (04/13/90)

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