Article View: news.software.nntp
Article #82297Re: nnrpd 2.5 and perl filters
From: Julien ÉLIE
Date: Thu, 03 Dec 2009 17:49
Date: Thu, 03 Dec 2009 17:49
39 lines
2464 bytes
2464 bytes
Hi Paolo,
>> and removed:
>>
>> use INN::syslog;
>>
>> in postfilter.pl and *.pm using it.
>>
>> Does it work for you?
>
> yes
> why 'use INN::syslog' is now a problem? even if it's a built in module, it
> should be explicitly invoked. Are this wrong?
INN::syslog is not shipped with INN.
http://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html#S5
The following additional function is available from inside filters
embedded in innd, and is also available from filters embedded in nnrpd
(see below):
INN::syslog(level, message)
No need to explicitly "use" it. It is already embedded when the Perl
filter is used by the C code.
> # cat /home/news/perl/INN/syslog.pm
> 1;
Does it mean that you have that file in your 2.4 configuration and not
in your 2.5 configuration?
Why did you create it for INN 2.4?
--
Julien ÉLIE
« Cogitationis poenam nemo patitur. »
Technical Details
Message-ID:
<hf8tn1$a5r$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<hf56lc$a1f$1@aioe.org> <hf69hq$p25$1@news.trigofacile.com> <hf6ns5$94v$1@aioe.org> <hf6pma$93d$2@news.trigofacile.com> <hf8bmt$2sm$1@aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <hf8tn1$a5r$1@news.trigofacile.com> Subject: Re: nnrpd 2.5 and perl filters Date: Thu, 3 Dec 2009 18:49:14 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hf56lc$a1f$1@aioe.org> <hf69hq$p25$1@news.trigofacile.com> <hf6ns5$94v$1@aioe.org> <hf6pma$93d$2@news.trigofacile.com> <hf8bmt$2sm$1@aioe.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!feeder.news-service.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 39 NNTP-Posting-Host: aaubervilliers-151-1-55-6.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1259862561 10427 83.112.28.6 (3 Dec 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Thu, 3 Dec 2009 17:49:21 +0000 (UTC) In-Reply-To: <hf8bmt$2sm$1@aioe.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049