[ILUG] Syslog/Perl Q
Niall O Broin
niall at magicgoeshere.com
Mon Sep 18 13:21:40 IST 2000
On Mon, Sep 18, 2000 at 12:06:31PM +0100, John P . Looney wrote:
> Anyone got any idea why a perl script would print out..
>
> Usage: Sys::Syslog::_PATH_LOG() at /usr/lib/perl5/5.6.0/i386-linux/Sys/Syslog.pm line 277.
Because whenever you call _PATH_LOG (or something else does, given its
leading _ name, it's called wrongly, hence the usage message).
> How do I even find what line in the script the problem occured on (Kate,
> with no real perl ability)...
Remove the
use Sys::Syslog
line from the top of the script in question, run it and see where the
(different) error occurs.
Regards,
Niall
More information about the ILUG
mailing list