[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Syslogs error



At 9.58 -0400 1999.06.11, Adam Witney wrote:
>I am trying to use the ProxyServer.pm modules.... i have some info off a
>DBI list.... but i am coming across another problem which i think maybe mac
>specific, i am running this script

Syslog doesn't work on MacPerl.  Here is a workaround that might work (you
can try it, anyway):

In pClient.pm, comment out use Sys::Syslog on line 45, then belong the use
statements add:

  sub Sys::Syslog::syslog {
    print STDERR join " ", @_;
  }

That should be a good stopgap until we get a working syslog, I think.

Or maybe just modify Sys::Syslog itself to do that (commenting out the
require "syslog.ph" line).

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org