* SUMMARY: perl Syslog.pm problem on DU4.0A
@ 1996-12-23 11:45 Mike McGovern
0 siblings, 0 replies; only message in thread
From: Mike McGovern @ 1996-12-23 11:45 UTC (permalink / raw)
To: tru64-unix-managers
My original problem was:
Undefined subroutine &Sys::Syslog::hostname called at Syslog.pm line 92.
perl, version 5.003 with EMBED
The solution (supplied by Robert L. McMillin - many thanks):
*** Syslog.pm Fri Aug 23 22:38:13 1996
--- Syslog.pm.new Fri Dec 20 13:54:04 1996
***************
*** 7,12 ****
--- 7,13 ----
@EXPORT = qw(openlog closelog setlogmask syslog);
use Socket;
+ use Sys::Hostname;
# adapted from syslog.pl
#
***************
*** 89,97 ****
=cut
! require 'hostname.pl';
!
! $host = hostname() unless $host; # set $Syslog::host to change
require 'syslog.ph';
--- 90,96 ----
=cut
! $host = Sys::Hostname::hostname() unless $host; # set
$Syslog::host to change
require 'syslog.ph';
--
I had to apply hunk2 of the patch manually for some reason, but it
worked fine.
Thanks also to Hellebo Knut and Ollivier Robert for responding.
Mike McGovern
=============
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-12-23 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-23 11:45 SUMMARY: perl Syslog.pm problem on DU4.0A Mike McGovern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox