Article View: news.software.nntp
Article #13183Re: INN 1.5 VS 1.5b2, perl filtering trouble
From: Ollivier Robert
Date: Wed, 11 Dec 1996 00:00
Date: Wed, 11 Dec 1996 00:00
24 lines
1267 bytes
1267 bytes
[courtesy cc of this posting sent to cited author via email]
In article <58k1l2$vs4$1@loach.cichlid.com>,
Andy Burgess <aab@cichlid.com> wrote:
> Even the following filter_innd.pl fails (for me) on 1.5:
>
> sub filter_art {
> my($rval)="";
> $rval;
> }
I don't know if it will correct your problem but it should be
my $rval = "";
because the () makes Perl interpret the line in an array context where you
want scalar context. It will be corrected in the 1.5.1 examples.
--
Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr
Usenet Canal Historique
Technical Details
Message-ID:
<58m12v$3e7$1@polaris.eurocontrol.fr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<58k1l2$vs4$1@loach.cichlid.com>Show Full Headers
Complete Article Headers
Message-ID: <58m12v$3e7$1@polaris.eurocontrol.fr> Subject: Re: INN 1.5 VS 1.5b2, perl filtering trouble Date: Wed, 11 Dec 1996 00:00:00 +0000 From: Ollivier.Robert@eurocontrol.fr (Ollivier Robert) References: <58k1l2$vs4$1@loach.cichlid.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.mbox.zip!not-for-mail X-Deja-AN: 203475867 Distribution: inet Organization: Eurocontrol EEC, Bretigny, France Newsgroups: news.software.nntp X-newsposter: Pnews 4.0-test48 (3 Dec 96)